forked from artcom/eppsa-ksm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
81 lines (72 loc) · 1.47 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
version: "3.2"
services:
nginx:
build: ./nginx
depends_on:
- asset-server
- content-server
- content-repo
- cms-frontend
- game-server
- mongo-access
ports:
- "80:80"
- "443:443"
volumes:
- ${CERTIFICATE_PATH}:/certificate
- ./assets:/html
asset-server:
build: ./asset-server
volumes:
- type: volume
source: assets
target: /var/www/webdav
content-server:
image: "artcom/git-json-api:latest"
environment:
REPO_URI: http://content-repo/
BODY_SIZE_LIMIT: "1mb"
PORT: 80
depends_on:
- content-repo
content-repo:
build: ./content-repo
volumes:
- type: volume
source: content
target: /srv/content
cms-frontend:
build:
context: ./cms-frontend
environment:
GIT_JSON_API_URI: https://content-server.${HOST}
ASSET_SERVER_URI: https://asset-server.${HOST}
depends_on:
- content-server
- asset-server
game-server:
build:
context: ./game-server
environment:
MONGODB_URI: mongodb://mongo
depends_on:
- mongo
mongo:
image: "mongo:3.6.3-jessie"
volumes:
- type: volume
source: mongoDB
target: /data/db
ports:
- "27017:27017"
mongo-access:
build:
context: ./mongo-access
environment:
MONGODB_URI: mongodb://mongo
depends_on:
- mongo
volumes:
content:
assets:
mongoDB: