23 lines
556 B
YAML
23 lines
556 B
YAML
services:
|
|
picobot:
|
|
image: picobot:latest
|
|
container_name: picobot
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${PICOBOT_PUBLISH_HOST:-0.0.0.0}:${PICOBOT_GATEWAY_PORT:-19876}:${PICOBOT_GATEWAY_PORT:-19876}"
|
|
volumes:
|
|
- ~/.picobot/config.json:/app/.picobot/config.json:ro
|
|
- picobot_data:/app/.picobot
|
|
environment:
|
|
- RUST_LOG=info
|
|
- TZ=Asia/Shanghai
|
|
command:
|
|
- gateway
|
|
- --host
|
|
- ${PICOBOT_GATEWAY_HOST:-0.0.0.0}
|
|
- --port
|
|
- ${PICOBOT_GATEWAY_PORT:-19876}
|
|
|
|
volumes:
|
|
picobot_data:
|