-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
34 lines (33 loc) · 1003 Bytes
/
docker-compose.yaml
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
services:
server:
build:
dockerfile: ./docker/Dockerfile.server
container_name: federated-collection-discovery-server
ports:
- "8000:8000"
develop:
watch:
- action: sync+restart
path: ./src/server/federated_collection_discovery/
target: /app/federated_collection_discovery/
- action: rebuild
path: ./pyproject.toml
environment:
- PORT=8000
- FEDERATED_STAC_API_URLS=https://stac.maap-project.org/,https://openveda.cloud/api/stac/,https://catalogue.dataspace.copernicus.eu/stac
- FEDERATED_CMR_URLS=https://cmr.earthdata.nasa.gov/search/
client:
build:
dockerfile: ./docker/Dockerfile.client
container_name: federated-collection-discovery-client
ports:
- "3000:3000"
volumes:
- ./src/client:/app/src/client
environment:
- CHOKIDAR_USEPOLLING=true
- REACT_APP_API_URL=http://localhost:8000
depends_on:
- server
volumes:
node_modules: