diff options
author | Matthew Lemon <y@yulqen.org> | 2024-09-12 17:21:11 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-09-12 17:21:11 +0100 |
commit | ae414c59441bc985e3f8801f03e810443bc36253 (patch) | |
tree | 209655ee0412ca80568304e91bfc6227f697e70a /docker-compose.yaml | |
parent | 551dbd02ad5dc98c6a0ea3030765c00a9ac311e7 (diff) |
renamed docker compose file
Diffstat (limited to 'docker-compose.yaml')
-rw-r--r-- | docker-compose.yaml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..7bcb207 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,22 @@ +services: + web: + build: . + command: gunicorn config.wsgi:application --bind 0.0.0.0:8000 + volumes: + - .:/app + ports: + - "3000:3000" + env_file: + - .env + depends_on: + - db + + db: + image: postgres:14 + volumes: + - postgres_data:/var/lib/postgresql/data/ + environment: + - POSTGRES_PASSWORD=postgres + +volumes: + postgres_data: |