-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.prod.yml
50 lines (47 loc) · 1.15 KB
/
docker-compose.prod.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
# Production environment
services:
frontend:
image: ghcr.io/nismod/jsrat-frontend:0.1
build: ./frontend
ports:
- "3000:80"
backend:
image: ghcr.io/nismod/jsrat-backend:0.2
build: ./backend
ports:
- "3001:80"
env_file:
- ./envs/prod/.backend.env
vector-tileserver:
image: ghcr.io/nismod/jsrat-vector-tileserver:0.1
build:
context: ./tileserver/vector
command:
[
"tileserver-gl-light",
"-c",
"config.json",
"-p",
"8080",
"--verbose",
"-u",
"https://jsrat.licj.org.jm:9443/vector",
]
ports:
- "3002:8080"
volumes:
- ./tileserver/vector/data:/data
- ./tileserver/vector/config.json:/config.json
raster-tileserver:
image: ghcr.io/nismod/jsrat-raster-tileserver:0.1
build: ./tileserver/raster
ports:
- "3003:5000"
volumes:
- ./tileserver/raster/data:/data
- ./tileserver/raster/config.toml:/config.toml
environment:
- TC_DRIVER_PATH=/data/terracotta.sqlite
- TC_RESAMPLING_METHOD=nearest
- TC_REPROJECTION_METHOD=nearest
- TC_PNG_COMPRESS_LEVEL=1