diff --git a/.gitignore b/.gitignore index 8e8b0e02..0a545fa8 100644 --- a/.gitignore +++ b/.gitignore @@ -143,3 +143,4 @@ tmp .config.yaml .secrets.yaml .private_config.yaml +docker-compose.yml diff --git a/docker-compose-example.yml b/docker-compose-example.yml new file mode 100755 index 00000000..41a4ebf9 --- /dev/null +++ b/docker-compose-example.yml @@ -0,0 +1,12 @@ +services: + xiaozhi-esp32-server: + image: ccr.ccs.tencentyun.com/xinnan/xiaozhi-esp32-server:latest + container_name: xiaozhi-esp32-server + restart: always + #security_opt: + # - seccomp:unconfined + ports: + - "8000:8000" + - "8002:8002" + volumes: + - ./.config.yaml:/opt/xiaozhi-esp32-server/config.yaml \ No newline at end of file