aboutsummaryrefslogtreecommitdiffstats
path: root/examples/docker-compose.example.yaml
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-10-23 11:14:11 +0100
committerGravatar Chris Lovering <[email protected]>2023-10-23 11:14:11 +0100
commitaac1337ab72e0b92229d1eb42be1d2cf58f2958b (patch)
tree2a725127e42df18c96d9562b2f92ef969a4a7369 /examples/docker-compose.example.yaml
parentAdd a dockerignore file to the example dir (diff)
Fix spelling error in docker-compose example
Diffstat (limited to 'examples/docker-compose.example.yaml')
-rw-r--r--examples/docker-compose.example.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/docker-compose.example.yaml b/examples/docker-compose.example.yaml
new file mode 100644
index 0000000..f028ea9
--- /dev/null
+++ b/examples/docker-compose.example.yaml
@@ -0,0 +1,13 @@
+ bot:
+ restart: unless-stopped
+ build: .
+ volumes:
+ - .:/app:ro
+ # Thanks to POETRY_HOME being set to "/opt/poetry/home",
+ # any venv folders on the host file system at this path
+ # will not be used by poetry within the Docker environment.
+ tty: true
+ env_file:
+ - .env
+ environment:
+ FOO: "bar"