2022-02-04 08:18:46 -05:00
|
|
|
version: '3'
|
2022-02-03 16:47:32 -05:00
|
|
|
|
|
|
|
services:
|
2022-02-05 20:18:30 -05:00
|
|
|
db:
|
2024-02-24 07:46:14 -05:00
|
|
|
image: postgres:15
|
2022-02-05 20:18:30 -05:00
|
|
|
volumes:
|
|
|
|
- "./data/db/pgdata:/var/lib/postgresql/data/"
|
|
|
|
env_file:
|
2024-04-03 12:43:09 -04:00
|
|
|
- ./variables.env
|
2024-04-22 09:26:00 -04:00
|
|
|
restart: unless-stopped
|
2022-02-05 20:18:30 -05:00
|
|
|
networks:
|
|
|
|
- internal
|
2024-04-22 09:26:00 -04:00
|
|
|
labels:
|
|
|
|
- meta.role=db
|
2024-02-24 07:46:14 -05:00
|
|
|
|
2022-02-05 20:18:30 -05:00
|
|
|
pgadmin:
|
2024-04-17 08:16:36 -04:00
|
|
|
depends_on:
|
|
|
|
- "db"
|
2024-04-05 05:54:28 -04:00
|
|
|
image: dpage/pgadmin4:8.5
|
2024-03-28 11:57:35 -04:00
|
|
|
volumes:
|
2024-03-31 11:22:08 -04:00
|
|
|
- "./data/pgadmin:/var/lib/pgadmin"
|
2022-02-05 20:18:30 -05:00
|
|
|
env_file:
|
2024-04-03 12:43:09 -04:00
|
|
|
- ./variables.env
|
2024-03-31 11:22:08 -04:00
|
|
|
user: '$UID:$GID'
|
2023-11-17 20:40:49 -05:00
|
|
|
ports:
|
2024-03-28 11:50:43 -04:00
|
|
|
- 5050:80
|
2024-04-22 09:26:00 -04:00
|
|
|
restart: unless-stopped
|
2022-02-05 20:18:30 -05:00
|
|
|
networks:
|
|
|
|
- internal
|
2024-04-22 09:26:00 -04:00
|
|
|
labels:
|
|
|
|
- meta.role=pgadmin
|
2024-02-24 07:46:14 -05:00
|
|
|
|
|
|
|
forest:
|
|
|
|
depends_on:
|
|
|
|
- "db"
|
2024-04-17 08:16:36 -04:00
|
|
|
build:
|
|
|
|
context: ./src/forest
|
|
|
|
dockerfile: Dockerfile
|
2024-02-24 07:46:14 -05:00
|
|
|
image: forest:latest
|
2024-04-01 12:16:26 -04:00
|
|
|
volumes:
|
|
|
|
- "./data/forest/migrations:/app/migrations"
|
2023-11-17 20:40:49 -05:00
|
|
|
ports:
|
|
|
|
- 5000:5000
|
2022-02-03 16:47:32 -05:00
|
|
|
env_file:
|
2024-04-03 12:43:09 -04:00
|
|
|
- ./variables.env
|
2024-02-24 07:46:14 -05:00
|
|
|
restart: unless-stopped
|
2022-02-04 08:48:46 -05:00
|
|
|
networks:
|
2024-02-24 07:46:14 -05:00
|
|
|
- internal
|
|
|
|
labels:
|
|
|
|
- meta.role=forest
|
|
|
|
|
2024-04-17 08:16:36 -04:00
|
|
|
rfront:
|
|
|
|
build:
|
|
|
|
context: ./src/rfront
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
image: rfront:latest
|
|
|
|
volumes:
|
2024-04-17 08:18:04 -04:00
|
|
|
- "./src/rfront:/usr/src/app"
|
2024-04-17 08:16:36 -04:00
|
|
|
- "/usr/src/app/node_modules"
|
|
|
|
ports:
|
|
|
|
- 3000:3000
|
|
|
|
environment:
|
|
|
|
- NODE_ENV=development
|
|
|
|
- REACT_APP_BACKEND_SERVICE_URL=http://localhost:5000
|
|
|
|
- REACT_APP_WEBSOCKET_SERVICE_URL=http://localhost:5001
|
2024-04-22 09:26:00 -04:00
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- internal
|
|
|
|
labels:
|
|
|
|
- meta.role=rfront
|
|
|
|
profiles:
|
|
|
|
- donotstart
|
2024-04-17 07:57:30 -04:00
|
|
|
|
2024-04-22 09:26:00 -04:00
|
|
|
osmtile:
|
|
|
|
image: overv/openstreetmap-tile-server
|
|
|
|
volumes:
|
|
|
|
- "./data/osmtile/pgdata:/data/database/"
|
|
|
|
ports:
|
|
|
|
- "8000:80"
|
|
|
|
environment:
|
|
|
|
- REPLICATION_URL=https://planet.openstreetmap.org/replication/minute/
|
|
|
|
- MAX_INTERVAL_SECONDS=60
|
2024-04-22 10:49:14 -04:00
|
|
|
#- UPDATES=enabled
|
2024-04-22 09:26:00 -04:00
|
|
|
- EXPIRY_MINZOOM=13
|
|
|
|
- EXPIRY_TOUCHFROM=13
|
|
|
|
- EXPIRY_DELETEFROM=19
|
|
|
|
- EXPIRY_MAXZOOM=20
|
|
|
|
command: "run"
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- internal
|
|
|
|
labels:
|
|
|
|
- meta.role=osmtile
|
2024-02-24 07:46:14 -05:00
|
|
|
|
2022-02-04 08:48:46 -05:00
|
|
|
networks:
|
|
|
|
internal: {}
|