-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathdocker-compose.aux.yml
60 lines (56 loc) · 1.49 KB
/
docker-compose.aux.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
# Non-essential development enviroment servers
services:
stac-api:
container_name: pctasks-stac-api
image: pctasks-stacapi
build:
context: .
dockerfile: Dockerfile.stacapi
environment:
- APP_HOST=0.0.0.0
- APP_PORT=8513
- RELOAD=false
- ENVIRONMENT=local
- POSTGRES_USER=username
- POSTGRES_PASS=password
- POSTGRES_DBNAME=postgis
- POSTGRES_HOST_READER=database
- POSTGRES_HOST_WRITER=database
- POSTGRES_PORT=5432
- WEB_CONCURRENCY=10
- VSI_CACHE=TRUE
- DB_MIN_CONN_SIZE=1
- DB_MAX_CONN_SIZE=1
ports:
- "8513:8513"
volumes:
- ./dev/stacapi.py:/opt/src/stacapi.py
command: [ "uvicorn", "stacapi:app", "--host", "0.0.0.0", "--port", "8513", "--reload", "--proxy-headers" ]
stac-browser:
container_name: pctasks-stac-browser
image: pctasks-stacbrowser
build:
context: .
dockerfile: Dockerfile.stacbrowser
ports:
- "8514:8080"
frontend:
container_name: pctasks-frontend-app
image: node:16.16-slim
working_dir: /usr/src/app
env_file:
- "pctasks_frontend/.env"
ports:
- "8515:8515"
environment:
- CHOKIDAR_USEPOLLING=true
- CHOKIDAR_INTERVAL=100
- REACT_APP_DEV_AUTH_TOKEN=${REACT_APP_DEV_AUTH_TOKEN:-hunter2}
volumes:
- ./pctasks_frontend:/usr/src/app
command: "npm start"
networks:
default:
# Network created during scripts/setup
external:
name: pctasks-network