Files
MeshBot/docker-compose.yml
T

28 lines
668 B
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}'
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'
volumes:
mesh_data:
networks:
dev_net:
external: true