feat: Add Portracker service with Synology setup guides and scripts

This commit is contained in:
2026-02-22 12:56:05 -05:00
parent 5ba88c9ae4
commit 070e03eafb
3 changed files with 77 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
services:
portracker:
image: mostafawahied/portracker:latest
container_name: Portracker
security_opt:
- apparmor:unconfined
pid: host
cap_add:
- SYS_PTRACE
- SYS_ADMIN
healthcheck:
test: ["CMD-SHELL", "nc -z 127.0.0.1 4999 || exit 1"]
interval: 10s
timeout: 5s
retries: 3
start_period: 90s
ports:
- 4999:4999
volumes:
- /volume1/docker/portracker/data:/data:rw
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- PUID=${PUID:-1024}
- PGID=${PGID:-100}
- TZ=${TZ:-America/Toronto}
restart: on-failure:5