forked from kartta-labs/Project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
129 lines (119 loc) · 3.36 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
version: '3.3'
services:
editor-db:
image: postgres:11
environment:
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
- ./tmp/editor-db:/var/lib/postgresql/data
oauth-proxy:
build:
context: .
dockerfile: Dockerfile-oauth-proxy
entrypoint: ["/bin/sh", "/container/config/oauth-proxy/launch"]
volumes:
- ./container/tools:/container/tools
- ./container/secrets:/container/secrets
- ./container/config/oauth-proxy:/container/config/oauth-proxy
ports:
- "4180"
cgimap:
build:
context: .
dockerfile: Dockerfile-cgimap
entrypoint: ["/bin/bash", "/container/config/cgimap/launch"]
volumes:
- ./container/tools:/container/tools
- ./container/secrets:/container/secrets
- ./container/config/cgimap:/container/config/cgimap
ports:
- "${CGIMAP_PORT}"
depends_on:
- editor-db
editor:
build:
context: .
dockerfile: Dockerfile-editor
entrypoint: ["/bin/bash", "/container/config/editor/launch"]
volumes:
- ./container/tools:/container/tools
- ./container/secrets:/container/secrets
- ./container/config/editor:/container/config/editor
- ./editor-website/app:/srv/editor-website/app
ports:
- "${EDITOR_PORT}"
depends_on:
- editor-db
warper-db:
image: mdillon/postgis
volumes:
- ./tmp/warper-db:/var/lib/postgresql/data
redis:
image: redis
warper:
build:
context: .
dockerfile: Dockerfile-warper
entrypoint: ["/bin/bash", "/container/config/warper/launch"]
volumes:
- ./container/tools:/container/tools
- ./container/secrets:/container/secrets
- ./container/config/warper:/container/config/warper
- ./warper:/app
ports:
- "${MAPWARPER_PORT}"
- "${MAPWARPER_INTERNAL_PORT}"
depends_on:
- warper-db
- redis
fe:
build:
context: .
dockerfile: Dockerfile-fe
entrypoint: ["/bin/sh", "/container/config/fe/launch"]
volumes:
- ./container/tools:/container/tools
- ./container/secrets:/container/secrets
- ./container/config/fe:/container/config/fe
- ./public:/srv/public
- ./kscope:/srv/kscope
ports:
- "${HOST_PORT}:${FE_PORT}"
depends_on:
- oauth-proxy
- editor
- cgimap
- warper
noter-backend-db:
image: postgres:12
environment:
POSTGRES_HOST_AUTH_METHOD: trust
restart: always
volumes:
- ./tmp/noter-db:/var/lib/postgresql/data
noter-backend:
build:
context: .
dockerfile: Dockerfile-noter-backend
ports:
- "${NOTER_BACKEND_PORT}"
volumes:
- ./container/tools:/container/tools
- ./container/secrets:/container/secrets
- ./container/config/noter-backend:/container/config/noter-backend
- ./noter-backend:/noter-backend
entrypoint: ["/bin/bash", "/container/config/noter-backend/launch"]
depends_on:
- noter-backend-db
noter-frontend:
build:
context: .
dockerfile: Dockerfile-noter-frontend
ports:
- "${NOTER_FRONTEND_PORT}"
volumes:
- ./container/tools:/container/tools
- ./container/secrets:/container/secrets
- ./container/config/noter-frontend:/container/config/noter-frontend
- ./noter-frontend/src:/app/src
entrypoint: ["/bin/bash", "/container/config/noter-frontend/launch"]