-
Notifications
You must be signed in to change notification settings - Fork 12
/
docker-compose.yml
40 lines (38 loc) · 1.17 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
version: '3'
services:
sta:
image: 52north/sensorweb-server-sta:latest
# build: https://github.com/52North/sensorweb-server-sta.git#develop
ports:
- 8081:8081
- 1883:1883
- 8883:8883
environment:
LOGGING_LEVEL_ROOT: INFO
LOGGING_LEVEL_ORG_N52: TRACE
SPRING_DATASOURCE_URL: jdbc:postgresql://database:5432/sta
SPING_JPA_PROPERTIES_HIBERNATE_HBM2DDL: update
MQTT_BROKER_PLAINTCP_ENABLED: "true"
MQTT_BROKER_WEBSOCKET_ENABLED: "true"
MQTT_BROKER_PERSISTENCE_ENABLED: "false"
SERVER_ROOTURL: http://localhost:8081/sta/
SERVER_SERVLET_CONTEXT_PATH: /sta
SERVER_FEATURE_UPDATEFOI: "false"
SERVER_FEATURE_MQTTPUBLISHTOPICS: Observations
SERVER_FEATURE_VARIABLEENCODINGTYPE: "false"
SERVER_FEATURE_ISMOBILE: "false"
restart: on-failure:10
depends_on:
- database
database:
image: postgis/postgis:12-master
restart: on-failure
environment:
- POSTGRES_DB=sta
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- ALLOW_IP_RANGE=0.0.0.0/0
- POSTGRES_MULTIPLE_EXTENSIONS=postgis
# For debug/show purposes!
ports:
- 5000:5432