Files
portioner/portracker/docker-compose.portainer.yml

27 lines
642 B
YAML
Raw Normal View History

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:-1043}
- PGID=${PGID:-65538}
- TZ=${TZ:-America/Toronto}
restart: on-failure:5