forked from linuxluigi/flask-meetup-data-scraper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
production.yml
52 lines (47 loc) · 1.19 KB
/
production.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: "3"
volumes:
production_elasticsearch_data: {}
production_traefik: {}
services:
traefik:
build:
context: .
dockerfile: ./compose/production/traefik/Dockerfile
image: meetup_data_scraper_production_traefik
depends_on:
- flask
- angular
volumes:
- production_traefik:/etc/traefik/acme
ports:
- "0.0.0.0:80:80"
- "0.0.0.0:443:443"
flask:
build:
context: .
dockerfile: ./compose/production/flask/Dockerfile
image: meetup_data_scraper_production_flask
depends_on:
- elasticsearch
env_file:
- ./.envs/.production/.flask
- ./.envs/.production/.elasticsearch
command: /start
angular:
build:
context: .
dockerfile: ./compose/production/angular/Dockerfile
image: meetup_data_scraper_production_angular
depends_on:
- flask
restart: always
elasticsearch:
build:
context: .
dockerfile: ./compose/production/elasticsearch/Dockerfile
image: meetup_data_scraper_production_elasticsearch
volumes:
- production_elasticsearch_data:/usr/share/elasticsearch/data
env_file:
- ./.envs/.production/.elasticsearch
restart: always