1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
version: '3.3' services: web: build: context: . dockerfile: Dockerfile command: gunicorn --bind 0.0.0.0:5000 heliopropa:application volumes: - helio_cache:/cache:rw expose: - 5000 nginx: image: nginx volumes: - ./resources/heliopropa.nginx.docker:/etc/nginx/conf.d/default.conf ports: - "8080:80" depends_on: - web volumes: helio_cache: