-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.yml
61 lines (56 loc) · 1.28 KB
/
docker-compose.yml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
version: "2.4"
services:
app:
image: node:14.19.3-slim
working_dir: /usr/src
ports:
- "3000:3000"
- "4280:4280"
environment:
- CHOKIDAR_USEPOLLING=true
- CHOKIDAR_INTERVAL=100
# Environments where .env is present will mount and use it. CI will need
# environment variables set via GH Actions to test and build.
- REACT_APP_API_ROOT
- REACT_APP_IMAGE_API_ROOT
- REACT_APP_AZMAPS_CLIENT_ID
- REACT_APP_ONEDS_TENANT_KEY
- REACT_APP_HUB_URL
volumes:
- .:/usr/src
- ~/.npm:/root/.npm
networks:
- pcdc-network
command: npm start
api:
build:
context: api
dockerfile: Dockerfile
working_dir: /usr/src
ports:
- "7071:7071"
- "8000:8000"
volumes:
- ./api:/usr/src
- ~/.azure:/root/.azure
networks:
pcdc-network:
command: func host start --script-root ./ --cors "*" --port 7071
etl:
build:
context: etl
dockerfile: Dockerfile
ports:
- "8889:8889"
volumes:
- .:/opt/src
working_dir: /opt/src/etl
mockstac:
image: tiangolo/uvicorn-gunicorn-fastapi:python3.7
ports:
- "8866:80"
volumes:
- ./mockstac/app:/app
- ./mockstac/data:/data
networks:
pcdc-network: