-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
42 lines (40 loc) · 1.14 KB
/
Copy pathcompose.yml
File metadata and controls
42 lines (40 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
services:
container-pilot:
image: ${CP_IMAGE:-ghcr.io/deepzone/container-pilot:0.9.0-rc.13}
container_name: container-pilot
restart: unless-stopped
init: true
read_only: true
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
tmpfs:
- /tmp:size=16m,mode=1777
ports:
- "${CP_BIND_ADDRESS:-0.0.0.0}:3080:8080"
environment:
TZ: Europe/Berlin
CP_PORT: "8080"
CP_SCAN_INTERVAL_MINUTES: "60"
CP_ADMIN_USER: admin
CP_ADMIN_PASSWORD_FILE: /run/secrets/admin_password
CP_AUTO_DEFAULT: "false"
CP_HEALTH_TIMEOUT_SECONDS: "120"
CP_STARTUP_GRACE_SECONDS: "5"
CP_SECURE_COOKIE: "false"
CP_SELF_UPDATE_REPOSITORY: DeepZone/container-pilot
CP_SELF_UPDATE_IMAGE: ghcr.io/deepzone/container-pilot
CP_SELF_UPDATE_CHANNEL: ${CP_SELF_UPDATE_CHANNEL:-prerelease}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- container-pilot-data:/data
secrets:
- admin_password
labels:
container-pilot.watch: "false"
volumes:
container-pilot-data:
secrets:
admin_password:
file: ./secrets/admin_password