-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
docker-compose.yml
48 lines (45 loc) · 1.66 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
version: "3"
services:
mqtt:
image: eclipse-mosquitto:latest
restart: unless-stopped
volumes:
#- ./config/mosquitto:/mosquitto/config
- ./volumes/mosquitto/data:/mosquitto/data
- ./volumes/mosquitto/log:/mosquitto/log
ports:
- "9001:9001"
broker:
image: ghcr.io/freifunkmuc/wgkex:latest
command: broker
restart: unless-stopped
ports:
- "5000:5000"
#volumes:
#- ./config/broker/wgkex.yaml:/etc/wgkex.yaml
environment:
WGKEX_DOMAINS: ${WGKEX_DOMAINS-ffmuc_muc_cty, ffmuc_muc_nord, ffmuc_muc_ost, ffmuc_muc_sued, ffmuc_muc_west, ffmuc_welt, ffwert_city}
WGKEX_DOMAIN_PREFIXES: ${WGKEX_DOMAIN_PREFIXES-ffmuc_, ffdon_, ffwert_}
WGKEX_DEBUG: ${WGKEX_DEBUG-DEBUG}
MQTT_BROKER_URL: ${MQTT_BROKER_URL-mqtt}
MQTT_BROKER_PORT: ${MQTT_BROKER_PORT-1883}
MQTT_USERNAME: ${MQTT_USERNAME-}
MQTT_PASSWORD: ${MQTT_PASSWORD-}
MQTT_KEEPALIVE: ${MQTT_KEEPALIVE-5}
MQTT_TLS: ${MQTT_TLS-False}
worker:
image: ghcr.io/freifunkmuc/wgkex:latest
command: worker
restart: unless-stopped
#volumes:
#- ./config/worker/wgkex.yaml:/etc/wgkex.yaml
environment:
WGKEX_DOMAINS: ${WGKEX_DOMAINS-ffmuc_muc_cty, ffmuc_muc_nord, ffmuc_muc_ost, ffmuc_muc_sued, ffmuc_muc_west, ffmuc_welt, ffwert_city}
WGKEX_DOMAIN_PREFIXES: ${WGKEX_DOMAIN_PREFIXES-ffmuc_, ffdon_, ffwert_}
WGKEX_DEBUG: ${WGKEX_DEBUG-DEBUG}
MQTT_BROKER_URL: ${MQTT_BROKER_URL-mqtt}
MQTT_BROKER_PORT: ${MQTT_BROKER_PORT-1883}
MQTT_USERNAME: ${MQTT_USERNAME-}
MQTT_PASSWORD: ${MQTT_PASSWORD-}
MQTT_KEEPALIVE: ${MQTT_KEEPALIVE-5}
MQTT_TLS: ${MQTT_TLS-False}