-
Notifications
You must be signed in to change notification settings - Fork 26
/
docker-compose.yml
57 lines (51 loc) · 1.26 KB
/
docker-compose.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
services:
database-service:
build: './database_server'
container_name: database-server
restart: always
environment:
- MONGO_INITDB_ROOT_USERNAME=gs1resolver
- MONGO_INITDB_ROOT_PASSWORD=gs1resolver
ports:
- "27017:27017"
volumes:
- resolver-database-volume:/data/db
networks:
- resolver-internal-network
data-entry-service:
build: './data_entry_server'
container_name: data-entry-server
environment:
- SESSION_TOKEN=secret
- MONGO_URI=mongodb://gs1resolver:gs1resolver@database-service:27017
depends_on:
- database-service
restart: always
ports:
- "3000:3000"
networks:
- resolver-internal-network
web-service:
build: './web_server'
container_name: resolver-web-server
depends_on:
- database-service
restart: always
networks:
- resolver-internal-network
frontend-proxy-service:
build: './frontend_proxy_server'
container_name: frontend-proxy-server
depends_on:
- web-service
- data-entry-service
restart: always
ports:
- "8080:80"
networks:
- resolver-internal-network
volumes:
resolver-database-volume: {}
networks:
resolver-internal-network:
name: resolver-internal-network