Files
NasRobot/docker-compose.yml
孙诚 b3122c66b1
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 36s
Docker Build & Deploy / Deploy to Production (push) Successful in 4s
1
2025-03-10 15:59:13 +08:00

36 lines
881 B
YAML

services:
nas_robot:
build:
context: .
dockerfile: Dockerfile
container_name: nas_robot
restart: always
networks:
- all_in
environment:
- TZ=Asia/Shanghai
volumes:
- /etc/localtime:/etc/localtime:ro
- /wd/volc/media/tv:/data/media/tv:rw
- /wd/volc/media/anime:/data/media/anime:rw
- /wd/volc/media/anime-other:/data/media/anime-other:rw
- /wd:/host/wd:ro
- /proc/mounts:/host/proc/mounts:ro
nas_robot_proxy:
image: beevelop/nginx-basic-auth:v2023.10.1
container_name: nas_robot_proxy
restart: always
networks:
- all_in
ports:
- 14902:80 # 开放端口
environment:
- TZ=Asia/Shanghai
- HTPASSWD=suncheng:$$apr1$$2QX32QHP$$HIGAbCuTt8jxdc4uDzNLI1
- FORWARD_PORT=8080
- FORWARD_HOST=nas_robot
networks:
all_in:
external: true