version: '3.6' services: api: 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/ ports: - "8444:444" environment: - SECRET_KEY=please_change web: build: ./front image: nginx:1.10.3 ports: - "8443:443" environment: - NGINX_HOST=reimbursinator.com - NGINX_PORT=443 command: /bin/bash -c "exec nginx -g 'daemon off;'"