forked from demokratie-live/democracy-development
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
76 lines (71 loc) · 1.46 KB
/
docker-compose.dev.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
version: '3'
services:
bundestag.io-api:
environment:
VIRTUAL_HOST: bundestag.io-api.local
PERIODS: '19'
entrypoint:
- yarn
- dev
ports:
- 3100:80
volumes:
- ./bundestag.io-api:/app
restart: 'no'
depends_on:
- mongodb
democracy-app.de-api:
environment:
VIRTUAL_HOST: democracy-app.de-api.local
entrypoint:
- yarn
- dev
ports:
- 3000:80
volumes:
- ./democracy-app.de-api/:/app/
restart: 'no'
depends_on:
- mongodb
democracy-app.de-admin:
environment:
VIRTUAL_HOST: democracy-app.de-admin.local
ports:
- 3200:80
volumes:
- ./democracy-app.de-admin/:/app/
- /app/.next
restart: 'always'
depends_on:
- mongodb
bundestag.io-admin:
environment:
VIRTUAL_HOST: bundestag.io-admin.local
ports:
- 3200:80
volumes:
- ./bundestag.io-admin/:/app/
- /app/.next
restart: 'always'
depends_on:
- bundestag.io
# elasticsearch:
# image: docker.elastic.co/elasticsearch/elasticsearch:6.2.4
# container_name: elasticsearch
# environment:
# - discovery.type=single-node
# networks:
# default:
# intern:
# aliases:
# - "elasticsearch"
# ports:
# - 9200:9200
# - 9300:9300
# depends_on:
# - mongodb
mongodb:
ports:
- 27020:27017
volumes:
- /usr/local/mongodb:/data/db