-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdockerproxy.yml
More file actions
64 lines (60 loc) · 1.76 KB
/
dockerproxy.yml
File metadata and controls
64 lines (60 loc) · 1.76 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# This file is auto-generated by openmediavault (https://www.openmediavault.org)
# WARNING: Do not edit this file, your changes will get lost.
# dockerproxy
#
# Provide limited access to the docker socket: https://github.com/linuxserver/docker-mods/tree/universal-docker; https://hub.docker.com/r/tecnativa/docker-socket-proxy
services:
dockerproxy:
image: lscr.io/linuxserver/socket-proxy:3.2.14-r0-ls74
container_name: dockerproxy
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
restart: always
environment:
PUID: ${PUID}
PGID: ${PGID}
TZ: ${TZ}
LOG_LEVEL: debug # debug,info,notice,warning,err,crit,alert,emerg
## Granted by default
EVENTS: 1
PING: 1
VERSION: 1
## Revoked by default / security-critical
AUTH: 0
SECRETS: 0
POST: 1 # Watchtower needs POST access
## Not always needed
BUILD: 0
COMMIT: 0
CONFIGS: 0
CONTAINERS: 1 # Traefik, Portainer etc.
DISTRIBUTION: 0
EXEC: 0
IMAGES: 1 # Portainer
INFO: 1 # Portainer
NETWORKS: 1 # Portainer
NODES: 1
PLUGINS: 0
SERVICES: 1 # Portainer
SESSION: 0
SWARM: 1
SYSTEM: 0
TASKS: 1 # Portainer
VOLUMES: 1 # Portainer
networks:
dockerproxy:
healthcheck:
test: wget --spider http://localhost:2375/version || exit 1
interval: "29s"
timeout: "5s"
retries: 3
start_period: "21s"
logging:
options:
max-size: "200K"
max-file: "10"
networks:
dockerproxy:
external: true
# Create network with a dynamic ip-range from 10.5.0.128 - 10.5.0.254
# docker network create -d bridge --subnet=10.5.0.0/24 --gateway=10.5.0.1 --ip-range=10.5.0.128/25 dockerproxy