-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml
101 lines (93 loc) · 2.46 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
version: '3.7'
volumes:
osscarto-multi-redis-data:
osscarto-multi-postgis-data:
osscarto-multi-postgis-extensions:
services:
nginx:
container_name: nginx
build:
context: docker/nginx
ports:
- "443:443"
depends_on:
- cartodb
- windshaft
- sqlapi
- varnish
- redis
- postgis
cartodb:
container_name: cartodb
build:
context: docker/cartodb
args:
- CARTODB_VERSION
- CARTODB_LISTEN_PORT
- STACK_SCHEME
- USER_ACCOUNT_USER_NAME
- USER_ACCOUNT_PASSWORD
- USER_ADMIN_PASSWORD
- USER_ACCOUNT_EMAIL
- GEOCODER_DB_NAME
- ORG_ACCOUNT_ORG_NAME
- ORG_ACCOUNT_USER_NAME
- ORG_ACCOUNT_EMAIL
- ORG_ACCOUNT_PASSWORD
- REDIS_HOST
- REDIS_LISTEN_PORT
- POSTGIS_HOST
- POSTGIS_LISTEN_PORT
depends_on:
- redis
- postgis
- sqlapi
- windshaft
environment:
- CARTO_ENV=${CARTO_ENV}
sqlapi:
container_name: sqlapi
build:
context: docker/sqlapi
args:
- SQLAPI_VERSION
depends_on:
- redis
- postgis
environment:
- CARTO_ENV=${CARTO_ENV}
windshaft:
container_name: windshaft
build:
context: docker/windshaft
args:
- WINDSHAFT_VERSION
depends_on:
- redis
- postgis
- sqlapi
environment:
- CARTO_ENV=${CARTO_ENV}
varnish:
container_name: varnish
build:
context: docker/varnish
environment:
- VARNISH_HTTP_PORT=${VARNISH_HTTP_PORT}
depends_on:
- sqlapi
- windshaft
redis:
container_name: redis
build:
context: docker/redis
volumes:
- osscarto-multi-redis-data:/data
postgis:
container_name: postgis
image: osscarto-multi-postgis:latest
volumes:
- osscarto-multi-postgis-data:/var/lib/postgresql/data
- osscarto-multi-postgis-extensions:/usr/share/postgresql
ports:
- "5432:5432"