38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
services:
|
|
bot:
|
|
build: .
|
|
environment:
|
|
MESH_HOST: 192.168.1.4
|
|
MESH_PORT: '4403'
|
|
MESH_DB_PATH: ./data/mesh-bot.db
|
|
MESH_POLL_MS: '1000'
|
|
MESH_NOTIFY_URL: ${MESH_NOTIFY_URL:-}
|
|
MESH_NOTIFY_CHANNEL: '${MESH_NOTIFY_CHANNEL:-3}'
|
|
WEATHER_CRON: ${WEATHER_CRON:-}
|
|
volumes:
|
|
- mesh_data:/app/data
|
|
restart: unless-stopped
|
|
networks:
|
|
- dev_net
|
|
labels:
|
|
- 'traefik.enable=true'
|
|
- 'traefik.http.routers.mesh-bot.rule=Host(`bot.dev.kkhost.pl`)'
|
|
- 'traefik.http.routers.mesh-bot.entrypoints=web'
|
|
- 'traefik.http.services.mesh-bot.loadbalancer.server.port=3000'
|
|
forwarder:
|
|
build: ./ops/forwarder
|
|
network_mode: host
|
|
environment:
|
|
FORWARDER_BASE: ${FORWARDER_BASE:-http://127.0.0.1:9898/workspaces/679fd6f6-b237-4a46-bf69-64cb0fc865b0/instance}
|
|
FORWARDER_SESSION: ${FORWARDER_SESSION:-ses_f31037caeffeioRwixqGV7VS6m}
|
|
FORWARDER_USER: ${FORWARDER_USER:-}
|
|
FORWARDER_PASS: ${FORWARDER_PASS:-}
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
mesh_data:
|
|
|
|
networks:
|
|
dev_net:
|
|
external: true
|