-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
86 lines (78 loc) · 2.25 KB
/
docker-compose.yml
File metadata and controls
86 lines (78 loc) · 2.25 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
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
services:
app:
image: ghcr.io/d3mocide/meshrf:latest
container_name: meshrf
ports:
- "80:80"
environment:
# Hostname for reverse proxy
- ALLOWED_HOSTS=localhost
# Default Map Center (Portland, OR)
- VITE_MAP_LAT=45.5152
- VITE_MAP_LNG=-122.6784
# UI Defaults (Runtime Configurable)
- DEFAULT_MAP_STYLE=dark_green
- DEFAULT_UNITS=imperial
restart: always
networks:
- meshrf_net
rf-engine:
image: ghcr.io/d3mocide/meshrf-rf-engine:latest
container_name: rf_engine
environment:
# Elevation Data Configuration
# Using local OpenTopoData service
- ELEVATION_API_URL=http://opentopodata:5000
# Dataset to use: ned10m (High res US) or srtm30m (Global)
# User must download .hgt/.tif files to ./data/opentopodata
- ELEVATION_DATASET=${ELEVATION_DATASET:-ned10m}
- REDIS_PASSWORD=${REDIS_PASSWORD:-changeme}
command: uvicorn server:app --host 0.0.0.0 --port 5001 --log-level warning
volumes:
- ./cache:/app/cache
restart: unless-stopped
depends_on:
- redis
networks:
- meshrf_net
rf-worker:
image: ghcr.io/d3mocide/meshrf-rf-engine:latest
container_name: rf_worker
command: celery -A worker.celery_app worker --loglevel=info
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- ELEVATION_API_URL=http://opentopodata:5000
- ELEVATION_DATASET=${ELEVATION_DATASET:-ned10m}
- REDIS_PASSWORD=${REDIS_PASSWORD:-changeme}
volumes:
- ./cache:/app/cache
restart: unless-stopped
depends_on:
- rf-engine
- redis
networks:
- meshrf_net
redis:
image: redis:alpine
user: nobody
command: redis-server --requirepass ${REDIS_PASSWORD:-changeme}
volumes:
- ./redis_data:/data
restart: always
networks:
- meshrf_net
opentopodata:
image: ghcr.io/d3mocide/meshrf-opentopodata:latest
container_name: opentopodata
volumes:
# Location of your .hgt/.tif files
- ./data/opentopodata:/app/data:ro
# Location of your config.yaml file
- ./data/opentopodata/config.yaml:/app/config.yaml:ro
restart: unless-stopped
networks:
- meshrf_net
networks:
meshrf_net:
driver: bridge