feat: Add Portracker service with Synology setup guides and scripts
This commit is contained in:
26
portracker/docker-compose.portainer.yml
Normal file
26
portracker/docker-compose.portainer.yml
Normal 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
|
||||
Reference in New Issue
Block a user