version: "3" services: flask_app: container_name: flask_app restart: always build: ./flask_app ports: - "10010:10010" command: gunicorn -w ${WORKER_COUNTS} -b 0.0.0.0:10010 wsgi:server volumes: - ~:/usr/src/flask_app/logs environment: - SITE=buildpc - STREAM=ambt-preden-test - HOST=127.0.0.1 - PORT=10010 - ID=AKIAUSTWEOGGEJICFGIP - KEY=Psz2Ao8Dp2rv0brrlIh4fiuDhJbCGqOMD4090tSo nginx: container_name: nginx restart: always build: ./nginx ports: - "9999:9999" depends_on: - flask_app