define rfront service
This commit is contained in:
parent
3eb95ccdf8
commit
d253b23916
1 changed files with 22 additions and 4 deletions
|
@ -12,6 +12,8 @@ services:
|
||||||
- internal
|
- internal
|
||||||
|
|
||||||
pgadmin:
|
pgadmin:
|
||||||
|
depends_on:
|
||||||
|
- "db"
|
||||||
image: dpage/pgadmin4:8.5
|
image: dpage/pgadmin4:8.5
|
||||||
volumes:
|
volumes:
|
||||||
- "./data/pgadmin:/var/lib/pgadmin"
|
- "./data/pgadmin:/var/lib/pgadmin"
|
||||||
|
@ -23,13 +25,13 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
depends_on:
|
|
||||||
- db
|
|
||||||
|
|
||||||
forest:
|
forest:
|
||||||
depends_on:
|
depends_on:
|
||||||
- "db"
|
- "db"
|
||||||
build: ./src/forest
|
build:
|
||||||
|
context: ./src/forest
|
||||||
|
dockerfile: Dockerfile
|
||||||
image: forest:latest
|
image: forest:latest
|
||||||
volumes:
|
volumes:
|
||||||
- "./data/forest/migrations:/app/migrations"
|
- "./data/forest/migrations:/app/migrations"
|
||||||
|
@ -45,7 +47,23 @@ services:
|
||||||
#profiles:
|
#profiles:
|
||||||
# - donotstart
|
# - 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:
|
# osmtile:
|
||||||
# image: overv/openstreetmap-tile-server:2.3.0
|
# image: overv/openstreetmap-tile-server:2.3.0
|
||||||
|
|
Loading…
Reference in a new issue