docker-compose.yml
419 Bytes
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: