22 lines
565 B
YAML
22 lines
565 B
YAML
services:
|
|
picobot:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
image: picobot:1.3.1
|
|
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}"
|