-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
36 lines (35 loc) · 1.01 KB
/
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
35
36
services:
server:
build:
context: ./src/server
dockerfile: ./docker/Dockerfile
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:
context: ./src/client
dockerfile: ./docker/Dockerfile
container_name: federated-collection-discovery-client
ports:
- "3000:3000"
volumes:
- ./src/client:/app
environment:
- CHOKIDAR_USEPOLLING=true
- REACT_APP_API_URL=http://localhost:8000
depends_on:
- server
volumes:
node_modules: