File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 1- name : " traefik" # this is a compose example for Traefik
1+ name : " traefik"
22services :
33 socket-proxy :
44 image : " 11notes/socket-proxy:2.1.2"
55 read_only : true
6- user : " 0:0" # make sure to use the same UID/GID as the owner of your docker socket!
6+ # make sure to use the same UID/GID as the owner of your docker socket!
7+ user : " 0:0"
78 volumes :
8- - " /run/docker.sock:/run/docker.sock:ro" # mount host docker socket, the :ro does not mean read-only for the socket, just for the actual file
9- - " socket-proxy:/run/proxy" # this socket is run as 1000:1000, not as root!
9+ # mount host docker socket, the :ro does not mean read-only for the socket, just for the actual file
10+ - " /run/docker.sock:/run/docker.sock:ro"
11+ # this socket is run as 1000:1000, not as root!
12+ - " socket-proxy:/run/proxy"
1013 restart : " always"
1114
1215 traefik :
@@ -22,10 +25,10 @@ services:
2225 - " --api.insecure=true"
2326 - " --log.level=INFO"
2427 - " --log.format=json"
25- - " --providers.docker.exposedByDefault=false" # use docker provider but do not expose by default
28+ - " --providers.docker.exposedByDefault=false"
2629 - " --entrypoints.http.address=:80"
2730 - " --entrypoints.https.address=:443"
28- - " --serversTransport.insecureSkipVerify=true" # do not verify downstream SSL certificates
31+ - " --serversTransport.insecureSkipVerify=true"
2932 ports :
3033 - " 80:80/tcp"
3134 - " 443:443/tcp"
You can’t perform that action at this time.
0 commit comments