Blame view

compose.yaml 485 Bytes
265af181   hitier   Set Docker compos...
1
2
3
4
5
6
7
8
9
10
version: '3.3'

services:
  web:
    build:
      context: .
      dockerfile: Dockerfile
    command: gunicorn --bind 0.0.0.0:5000 heliopropa:application
    volumes:
      - helio_cache:/cache:rw
7f400160   hitier   Docker compose lo...
11
      - speasy_cache:/root/.cache/speasy/Cache:rw
265af181   hitier   Set Docker compos...
12
13
14
15
16
17
18
19
20
21
22
23
24
    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:
7f400160   hitier   Docker compose lo...
25
  speasy_cache: