2019-01-18 22:10:09 +00:00
|
|
|
version: '2.0'
|
2018-12-20 17:46:26 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
api:
|
2018-12-22 23:57:39 +00:00
|
|
|
build: ./back
|
2019-01-18 22:10:09 +00:00
|
|
|
image: reimbursinator_back
|
2018-12-22 23:57:39 +00:00
|
|
|
command: gunicorn --bind 0.0.0.0:444 --keyfile /etc/ssl/private/selfsigned.key --certfile /etc/ssl/private/selfsigned.crt reimbursinator.wsgi:application
|
|
|
|
#volumes:
|
|
|
|
# - ./app/:/usr/src/back/
|
2018-12-20 17:46:26 +00:00
|
|
|
ports:
|
2018-12-22 23:57:39 +00:00
|
|
|
- "8444:444"
|
2018-12-20 17:46:26 +00:00
|
|
|
environment:
|
|
|
|
- SECRET_KEY=please_change
|
|
|
|
web:
|
2018-12-22 23:57:39 +00:00
|
|
|
build: ./front
|
2019-01-18 22:10:09 +00:00
|
|
|
image: reimbursinator_front
|
2018-12-20 17:46:26 +00:00
|
|
|
ports:
|
2018-12-22 23:57:39 +00:00
|
|
|
- "8443:443"
|
2018-12-20 17:46:26 +00:00
|
|
|
environment:
|
|
|
|
- NGINX_HOST=reimbursinator.com
|
2018-12-22 23:57:39 +00:00
|
|
|
- NGINX_PORT=443
|
2018-12-20 17:46:26 +00:00
|
|
|
command: /bin/bash -c "exec nginx -g 'daemon off;'"
|