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"
2
2
services :
3
3
socket-proxy :
4
4
image : " 11notes/socket-proxy:2.1.2"
5
5
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"
7
8
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"
10
13
restart : " always"
11
14
12
15
traefik :
@@ -22,10 +25,10 @@ services:
22
25
- " --api.insecure=true"
23
26
- " --log.level=INFO"
24
27
- " --log.format=json"
25
- - " --providers.docker.exposedByDefault=false" # use docker provider but do not expose by default
28
+ - " --providers.docker.exposedByDefault=false"
26
29
- " --entrypoints.http.address=:80"
27
30
- " --entrypoints.https.address=:443"
28
- - " --serversTransport.insecureSkipVerify=true" # do not verify downstream SSL certificates
31
+ - " --serversTransport.insecureSkipVerify=true"
29
32
ports :
30
33
- " 80:80/tcp"
31
34
- " 443:443/tcp"
You can’t perform that action at this time.
0 commit comments