-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
executable file
·51 lines (47 loc) · 1.03 KB
/
docker-compose.yaml
File metadata and controls
executable file
·51 lines (47 loc) · 1.03 KB
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
services:
web:
build: .
image: anguspllg/dine-map
container_name: dine_map_web
restart: unless-stopped
depends_on:
- db
- tileserver
env_file:
- .env
environment:
- ORIGIN=http://localhost:4173
- POSTGRES_HOST=db
- TILES_HOST=tileserver
ports:
- '4173:3000'
db:
image: postgres:18.1
container_name: dine_map_db
restart: unless-stopped
env_file:
- .env
volumes:
- pg_data_prod:/var/lib/postgresql
tile-generator:
build:
context: .
dockerfile: Dockerfile.tiles
image: anguspllg/dine-map-tile-generator
container_name: dine_map_tile_generator
env_file:
- .env
volumes:
- ./tileset:/tileset:Z
tileserver:
image: maptiler/tileserver-gl
container_name: dine_map_tileserver
restart: unless-stopped
depends_on:
tile-generator:
condition: service_completed_successfully
volumes:
- ./tileset:/data:Z
command: -c /data/config.json
volumes:
pg_data_prod: