Skip to content

Commit

Permalink
chore(compose): remove useless :ro on docker.sock for traefik
Browse files Browse the repository at this point in the history
Having `:ro` on the mounted volume `/var/run/docker.sock` in service `traefik` does not work and is actually useless.
  • Loading branch information
VincentCauchois committed Apr 26, 2024
1 parent e671ad1 commit e849d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ services:
- "--certificatesResolvers.acme-resolver.acme.storage=/etc/traefik/certs/acme.json"
- "--certificatesResolvers.acme-resolver.acme.tlsChallenge=true"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /var/run/docker.sock:/var/run/docker.sock
- ./config/traefik:/etc/traefik/dynamic
- ./data/traefik/certs:/etc/traefik/certs
ports:
Expand Down

0 comments on commit e849d31

Please sign in to comment.