finishing up makefile, adding health page, adjusting docker-compose files
parent
e44cb91b10
commit
eb693f6ce0
@ -0,0 +1,19 @@
|
|||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
gunicorn:
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
image: xmrauctions:latest
|
||||||
|
command: [".venv/bin/gunicorn", "-b", "0.0.0.0:8000", "xmrauctions.wsgi"]
|
||||||
|
ports:
|
||||||
|
- 8000:8000
|
||||||
|
migrations:
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
image: xmrauctions:latest
|
||||||
|
command: ["./manage.py", "migrate"]
|
||||||
|
huey:
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
image: xmrauctions:latest
|
||||||
|
command: ["./manage.py", "run_huey"]
|
@ -1,9 +0,0 @@
|
|||||||
version: '3'
|
|
||||||
services:
|
|
||||||
gunicorn:
|
|
||||||
env_file:
|
|
||||||
- .env
|
|
||||||
image: xmrauctions:latest
|
|
||||||
command: [".venv/bin/gunicorn", "-b", "0.0.0.0:8000", "xmrauctions.wsgi"]
|
|
||||||
ports:
|
|
||||||
- 8000:8000
|
|
Reference in New Issue