forked from undp/National-Climate-Transparency-Platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-dev-frontend.yml
More file actions
28 lines (28 loc) · 1.05 KB
/
docker-compose-dev-frontend.yml
File metadata and controls
28 lines (28 loc) · 1.05 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
version: "3.8"
services:
web-dev:
build:
context: .
dockerfile: ./web/Dockerfile.dev # Development Dockerfile
target: build
args:
PORT: 3030
REACT_APP_BACKEND: http://localhost:9000
REACT_APP_STAT_URL: http://localhost:9100
REACT_APP_COUNTRY_NAME: "Country X"
ports:
- "9030:3030"
volumes:
- ./web:/app
environment:
- NODE_ENV=development
- PORT=3030
- REACT_APP_BACKEND=http://localhost:9000
- REACT_APP_STAT_URL=http://localhost:9100
- REACT_APP_COUNTRY_NAME="Country X"
- REACT_APP_COUNTRY_FLAG_URL=<your-flag-url> # Replace with actual value
- COUNTRY_CODE=<your-country-code> # Replace with actual value
- REACT_APP_MAPBOXGL_ACCESS_TOKEN=<your-mapbox-token> # Replace with actual value
- REACT_APP_MAP_TYPE=<your-map-type> # Replace with actual value
- REACT_APP_ENABLE_REGISTRATION=<enable-registration> # Replace with actual value
- REACT_APP_GOVERNMENT_MINISTRY=<government-ministry> # Replace with actual value