PicoBot/docker-compose.test.yml

19 lines
508 B
YAML

services:
picobot:
image: picobot:1.2.0
container_name: picobot-test
restart: unless-stopped
ports:
- "${PICOBOT_PUBLISH_HOST:-127.0.0.1}:${PICOBOT_GATEWAY_PORT:-19876}:${PICOBOT_GATEWAY_PORT:-19876}"
volumes:
- "${HOME}/.picobot:/app/.picobot"
environment:
RUST_LOG: "${RUST_LOG:-info}"
TZ: "${TZ:-Asia/Shanghai}"
command:
- gateway
- --host
- "${PICOBOT_GATEWAY_HOST:-0.0.0.0}"
- --port
- "${PICOBOT_GATEWAY_PORT:-19876}"