Update conf to use file provider instead http provider

This commit is contained in:
Florian RICHER 2023-09-24 17:20:34 +02:00
parent 0f82e179af
commit 6ff4c4050d
6 changed files with 12 additions and 17 deletions

View file

@ -8,14 +8,16 @@ services:
security_opt:
- no-new-privileges:true
networks:
- providers
- proxy
proxy: {}
vpn:
ipv4_address: {{ server.vpn.reverse_proxy_ip }}
ports:
- 80:80
- 443:443
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./config/traefik.yml:/traefik.yml:ro
- ./config/dynamic_conf.yml:/dynamic_conf.yml:ro
- {{ server.work_dir }}/traefik/base/acme.json:/acme.json:rw
- {{ server.work_dir }}/traefik/base/access.log:/var/log/traefik/access.log:rw
- {{ server.work_dir }}/traefik/base/traefik.log:/var/log/traefik/traefik.log:rw
@ -108,18 +110,9 @@ services:
- "traefik.http.services.grafana.loadbalancer.server.port=3000"
- "traefik.docker.network=proxy"
http_provider:
image: httpd:latest
restart: unless-stopped
container_name: http_provider
networks:
- internal
- providers
volumes:
- ./config/dynamic_conf.yaml:/usr/local/apache2/htdocs/dynamic_conf.yaml
networks:
providers:
internal:
proxy:
external: true
vpn:
external: true