commit cf0e8241622cdc045ae53ba3256846b92beb6b3b
parent 29d8da98a32e78f76b13f6d5d07f0ee3f17b3c6b
Author: Asher Morgan <asher@ashermorgan.net>
Date: Sun, 13 Sep 2026 13:31:09 -0700
Bundle demo files in Docker image
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Dockerfile b/Dockerfile
@@ -6,6 +6,7 @@ COPY requirements.txt .
RUN python3 -m pip install --no-cache-dir -r requirements.txt
COPY aoh aoh
+COPY demo /aoh
COPY .env.docker .env
EXPOSE 8000
diff --git a/README.md b/README.md
@@ -32,7 +32,7 @@ First, build and run the AoH server docker image.
```
$ docker build -t aoh .
-$ docker run --rm --detach --name aoh -p 8000:8000 -v ./demo:/aoh aoh
+$ docker run --rm --detach --name aoh -p 8000:8000 aoh
```
Next, run the [demo playbook](demo/my-playbook.yml) via the client Python
@@ -101,7 +101,7 @@ $ docker stop aoh
Next steps for deploying AoH include:
- Copy your own Ansible playbooks to the server
-- Update the `playbooks.yml` and `passwords.yml` files that are mounted under
+- Create your own `playbooks.yml` and `passwords.yml` files and mount them under
`/aoh/` (see the [playbooks](#playbooks) and [playbook
passwords](#playbook-passwords) sections for reference)
- Apply the recommended [security measures](#security)