Skip to content

Commit

Permalink
Bring compose file to parity with usage scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchrisadams committed May 16, 2024
1 parent 699316a commit 6835239
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,18 @@ services:
ports:
- 5672:5672
django:
env_file:
- path: ./.env.docker
# uncomment to pass in your own .env file instead of using the environment variables below
# env_file:
# - path: ./.env.docker
environment:
- PORT=9000
- GUNICORN_BIND_IP=0.0.0.0
- PYTHONDONTWRITEBYTECODE=1
- PYTHONUNBUFFERED=1
- DATABASE_URL=mysql://deploy:deploy@mariadb:3306/greencheck
- DATABASE_URL_READ_ONLY=mysql://deploy:deploy@mariadb:3306/greencheck
- RABBITMQ_URL=amqp://guest:guest@rabbitmq:5672/
- DJANGO_SETTINGS_MODULE=greenweb.settings.development
build:
context: .
dockerfile: Dockerfile
Expand All @@ -34,5 +44,5 @@ services:
- ./greenweb:/app/greenweb
restart: always
depends_on:
- db
- mariadb
- rabbitmq

0 comments on commit 6835239

Please sign in to comment.