-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
82 lines (80 loc) · 1.92 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
services:
web:
image: ghcr.io/hggh/gpx-viewer/web:latest
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD:?error}"
POSTGRES_DB: gpxviewer
ports:
- "127.0.0.1:8000:8000"
volumes:
- type: bind
source: local_settings.py
target: /app/gpxviewr/local_settings.py
- type: bind
source: ./django-static
target: /static
- type: bind
source: ./local-fs-storage
target: /local-fs-storage
- type: bind
source: ./temp-geojson
target: /temp-geojson
networks:
- gpxv
celery:
image: ghcr.io/hggh/gpx-viewer/celery:latest
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD:?error}"
POSTGRES_DB: gpxviewer
volumes:
- type: bind
source: local_settings.py
target: /app/gpxviewr/local_settings.py
- type: bind
source: ./django-static
target: /static
- type: bind
source: ./local-fs-storage
target: /local-fs-storage
- type: bind
source: ./temp-geojson
target: /temp-geojson
networks:
- gpxv
valhalla:
image: ghcr.io/valhalla/valhalla:latest
restart: unless-stopped
command: /usr/local/bin/valhalla_service /data/valhalla.json 2
volumes:
- type: bind
source: ./valhalla-data
target: /data
networks:
- gpxv
redis:
image: redis:7
restart: unless-stopped
volumes:
- "redis-data:/data"
networks:
- gpxv
db:
image: postgis/postgis:16-3.4
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD:?error}"
POSTGRES_DB: gpxviewer
volumes:
- "db-data:/var/lib/postgresql/data"
networks:
- gpxv
networks:
gpxv:
volumes:
db-data:
redis-data: