2019-01-10 01:06:57 +00:00
|
|
|
version: '3.3'
|
2018-12-20 17:46:26 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
api:
|
2018-12-22 23:57:39 +00:00
|
|
|
build: ./back
|
|
|
|
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
|
2018-12-20 17:46:26 +00:00
|
|
|
image: nginx:1.10.3
|
|
|
|
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;'"
|