fixes
This commit is contained in:
@@ -1,34 +1,70 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
tailscale:
|
||||
comfy_tailscale:
|
||||
image: tailscale/tailscale:latest
|
||||
hostname: comfyui
|
||||
environment:
|
||||
- TS_AUTHKEY=tskey-auth-kNm64Dbcts11CNTRL-4eLQjm2pQYCLdy285gNaYCFDF1KTjP71
|
||||
- TS_STATE_DIR=/var/lib/tailscale
|
||||
- TS_SERVE_CONFIG=/config/ts_serve.json
|
||||
- TS_USERSPACE=false
|
||||
volumes:
|
||||
- ./tailscale-state:/var/lib/tailscale
|
||||
- ./tailscale-entrypoint.sh:/entrypoint.sh:ro
|
||||
- ./comfyui/tailscale-state:/var/lib/tailscale
|
||||
- ./comfyui/ts_serve.json:/config/ts_serve.json
|
||||
devices:
|
||||
- /dev/net/tun:/dev/net/tun
|
||||
cap_add:
|
||||
- net_admin
|
||||
- net_raw
|
||||
restart: unless-stopped
|
||||
entrypoint: ["/bin/sh", "/entrypoint.sh"]
|
||||
|
||||
nginx:
|
||||
comfy_nginx:
|
||||
image: nginx:latest
|
||||
depends_on:
|
||||
- tailscale
|
||||
- comfy_tailscale
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
- ./comfyui/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
- ./.htpasswd:/etc/nginx/.htpasswd:ro
|
||||
network_mode: service:tailscale
|
||||
network_mode: service:comfy_tailscale
|
||||
|
||||
volumes:
|
||||
tailscale-state:
|
||||
driver: local
|
||||
filebrowser_tailscale:
|
||||
image: tailscale/tailscale:latest
|
||||
hostname: filebrowser
|
||||
environment:
|
||||
- TS_AUTHKEY=tskey-auth-kNm64Dbcts11CNTRL-4eLQjm2pQYCLdy285gNaYCFDF1KTjP71
|
||||
- TS_STATE_DIR=/var/lib/tailscale
|
||||
- TS_SERVE_CONFIG=/config/ts_serve.json
|
||||
- TS_USERSPACE=false
|
||||
volumes:
|
||||
- ./filebrowser/tailscale-state:/var/lib/tailscale
|
||||
- ./filebrowser/ts_serve.json:/config/ts_serve.json
|
||||
devices:
|
||||
- /dev/net/tun:/dev/net/tun
|
||||
cap_add:
|
||||
- net_admin
|
||||
- net_raw
|
||||
restart: unless-stopped
|
||||
filebrowser:
|
||||
image: hurlenko/filebrowser
|
||||
container_name: filebrowser
|
||||
user: "${UID}:${GID}"
|
||||
depends_on:
|
||||
- filebrowser_tailscale
|
||||
volumes:
|
||||
- /mnt/data/ai/ComfyUI/output:/data/comfyui-output
|
||||
- /home/noti/dev:/data/dev
|
||||
environment:
|
||||
- FB_BASEURL=/filebrowser
|
||||
restart: unless-stopped
|
||||
network_mode: service:filebrowser_tailscale
|
||||
filebrowser_nginx:
|
||||
image: nginx:latest
|
||||
depends_on:
|
||||
- filebrowser_tailscale
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./filebrowser/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
- ./.htpasswd:/etc/nginx/.htpasswd:ro
|
||||
network_mode: service:filebrowser_tailscale
|
||||
|
||||
Reference in New Issue
Block a user