Skip to content
Snippets Groups Projects
Verified Commit 903fcc75 authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

[Traefik] Create a common network for Traefik and services

parent 58827ec2
No related branches found
No related tags found
1 merge request!53Migrate to Traefik v2
version: '3.7'
networks:
proxy:
name: 'proxy'
services:
traefik:
image: traefik:2.3
......@@ -13,4 +17,6 @@ services:
- ./traefik.toml:/traefik.toml
- ./traefik_dynamic.toml:/traefik_dynamic.toml
- /DATA/docker/traefik/certs:/certs
networks:
- proxy
restart: unless-stopped
......@@ -22,7 +22,6 @@
[providers.docker]
watch = true
endpoint = "unix:///var/run/docker.sock"
swarmMode = false
exposedByDefault = false
[providers.file]
filename = "/traefik_dynamic.toml"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment