26 lines
730 B
YAML
26 lines
730 B
YAML
services:
|
|
ditto-things:
|
|
image: eclipse/ditto-things:latest
|
|
container_name: smart-city-ditto-things
|
|
restart: unless-stopped
|
|
hostname: ditto-things
|
|
environment:
|
|
- TZ=Europe/Berlin
|
|
- BIND_HOSTNAME=0.0.0.0
|
|
- DITTO_JWT_SECRET=my-ditto-jwt-secret-key-12345
|
|
- MONGO_HOST=smart-city-ditto-mongodb
|
|
- MONGO_PORT=27017
|
|
- MONGO_DB=Things
|
|
- MONGODB_URI=mongodb://smart-city-ditto-mongodb:27017/Things
|
|
- AKKA_REMOTE_ENABLED=false
|
|
- JAVA_TOOL_OPTIONS=-Dditto.things.authentication.devops.password=ditto-devops-secret
|
|
networks:
|
|
traefik-public:
|
|
aliases:
|
|
- ditto-cluster
|
|
- ditto-things
|
|
|
|
networks:
|
|
traefik-public:
|
|
external: true
|