generated from cgs-earth/template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
64 lines (59 loc) · 1.43 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
62
63
64
services:
wqp-frost:
container_name: wqp-frost
build:
context: ./modules/frost
dockerfile: Dockerfile
# platform: linux/amd64
environment:
- serviceRootUrl=${WQP_URL}/FROST-Server
- persistence_db_url=jdbc:postgresql://wqp-database:5432/sensorthings
- persistence_db_username=sensorthings
- persistence_db_password=ChangeMe
- FROST_LL=DEBUG
depends_on:
- wqp-database
ports:
- 8080:8080
wqp-database:
container_name: wqp-database
build:
context: ./modules/database
environment:
- POSTGRES_DB=sensorthings
- POSTGRES_USER=sensorthings
- POSTGRES_PASSWORD=ChangeMe
volumes:
- postgis_volume:/var/lib/postgresql/data
wqp-pygeoapi:
container_name: wqp-pygeoapi
build:
context: modules/pygeoapi
depends_on:
- wqp-frost
environment:
- API_URL=${WQP_URL}/oapi
- API_BACKEND_URL=http://wqp-frost:8080/FROST-Server/v1.1
- SCRIPT_NAME=/oapi
wqp-proxy:
container_name: wqp-proxy
build:
context: modules/nginx
restart: always
ports:
- 8888:80
wqp-dagster:
container_name: wqp-dagster
build:
context: .
command: ["US:08:004"]
environment:
- API_BACKEND_URL=http://wqp-frost:8080/FROST-Server/v1.1
- SLACK_BOT_TOKEN
deploy:
resources:
limits:
cpus: "7"
memory: 4GB
volumes:
postgis_volume: