-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
55 lines (52 loc) · 1.63 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
version: '3'
services:
geotech_web:
build:
context: ..
dockerfile: Dockerfile
image: hylkevds/frost-http-geotech:latest
ports:
- 8080:8080
environment:
- serviceRootUrl=http://localhost:8080/FROST-Server
- queueLoggingInterval=1000
- http_cors_enable=true
- http_cors_allowed_origins=*
- persistence_db_driver=org.postgresql.Driver
- persistence_db_url=jdbc:postgresql://geotech_database:5432/sensorthings
- persistence_db_username=sensorthings
- persistence_db_password=ChangeMe
- persistence_autoUpdateDatabase=true
- auth_provider=de.fraunhofer.iosb.ilt.frostserver.auth.basic.BasicAuthProvider
- auth_allowAnonymousRead=false
- auth_authenticateOnly=true
- auth_realmName=FROST-Server
- auth_db_driver=org.postgresql.Driver
- auth_db_url=jdbc:postgresql://geotech_database:5432/sensorthings
- auth_db_username=sensorthings
- auth_db_password=ChangeMe
- auth_autoUpdateDatabase=true
- auth_plainTextPassword=false
- FROST_LL=info
- FROST_LL_service=info
- FROST_LL_org_jooq=info
depends_on:
geotech_database:
condition: service_healthy
geotech_database:
image: postgis/postgis:14-3.2-alpine
environment:
- POSTGRES_DB=sensorthings
- POSTGRES_USER=sensorthings
- POSTGRES_PASSWORD=ChangeMe
volumes:
- geotech_volume:/var/lib/postgresql/data
ports:
- 6543:5432
healthcheck:
test: ["CMD-SHELL", "pg_isready -d sensorthings -U sensorthings "]
interval: 10s
timeout: 5s
retries: 5
volumes:
geotech_volume: