define rfront service

This commit is contained in:
deflax 2024-04-17 15:16:36 +03:00
parent 3eb95ccdf8
commit d253b23916

View file

@ -12,6 +12,8 @@ services:
- internal
pgadmin:
depends_on:
- "db"
image: dpage/pgadmin4:8.5
volumes:
- "./data/pgadmin:/var/lib/pgadmin"
@ -23,13 +25,13 @@ services:
restart: always
networks:
- internal
depends_on:
- db
forest:
depends_on:
- "db"
build: ./src/forest
build:
context: ./src/forest
dockerfile: Dockerfile
image: forest:latest
volumes:
- "./data/forest/migrations:/app/migrations"
@ -45,7 +47,23 @@ services:
#profiles:
# - donotstart
rfront:
depends_on:
- "db"
- "forest"
build:
context: ./src/rfront
dockerfile: Dockerfile
image: rfront:latest
volumes:
- "./rfront:/usr/src/app"
- "/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
# osmtile:
# image: overv/openstreetmap-tile-server:2.3.0