Skip to content

Commit bc27a54

Browse files
authored
Add instructions for using the devtools server from container (#332)
1 parent a255786 commit bc27a54

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,18 @@ The `ansible-dev-tools` package also offers an Ansible Devtools server which can
5757

5858
Refer to the [server](https://github.com/ansible/ansible-dev-tools/blob/main/src/ansible_dev_tools/subcommands/server.py) code for available endpoints.
5959

60+
To run this server from the community dev-tools container, use the following command:
61+
62+
```
63+
$ podman run -d -p 8000:8000 --name=ansible-devtools-server ghcr.io/ansible/community-ansible-dev-tools:latest adt server
64+
778d0423863c5c161b4bdcb6177d169f0897c597ff084c7a0d3401814d78174f
65+
$ podman logs -f ansible-devtools-server
66+
[2024-04-25 17:28:02 +0000] [10] [INFO] Starting gunicorn 22.0.0
67+
[2024-04-25 17:28:02 +0000] [10] [INFO] Listening at: http://0.0.0.0:8000 (10)
68+
[2024-04-25 17:28:02 +0000] [10] [INFO] Using worker: sync
69+
[2024-04-25 17:28:02 +0000] [11] [INFO] Booting worker with pid: 11
70+
```
71+
6072
**Note:** This is primarily for backend integrations and is not intended to be an user-facing functionality.
6173

6274
## Documentation

0 commit comments

Comments
 (0)