|
|
@ -7,13 +7,12 @@ services:
|
|
|
|
command: [".venv/bin/gunicorn", "-b", "0.0.0.0:8000", "xmrauctions.wsgi"]
|
|
|
|
command: [".venv/bin/gunicorn", "-b", "0.0.0.0:8000", "xmrauctions.wsgi"]
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|
- 8000:8000
|
|
|
|
- 8000:8000
|
|
|
|
migrations:
|
|
|
|
depends_on:
|
|
|
|
env_file:
|
|
|
|
- "db"
|
|
|
|
- .env
|
|
|
|
|
|
|
|
image: xmrauctions:latest
|
|
|
|
|
|
|
|
command: ["./manage.py", "migrate"]
|
|
|
|
|
|
|
|
huey:
|
|
|
|
huey:
|
|
|
|
env_file:
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
- .env
|
|
|
|
image: xmrauctions:latest
|
|
|
|
image: xmrauctions:latest
|
|
|
|
command: ["./manage.py", "run_huey"]
|
|
|
|
command: ["./manage.py", "run_huey"]
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
|
|
|
|
- "db"
|
|
|
|