Skip to content

Commit

Permalink
feat(proxy): update traefik version
Browse files Browse the repository at this point in the history
  • Loading branch information
borjapazr committed Jun 22, 2023
1 parent c1d5a1d commit 63de5ba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
3 changes: 0 additions & 3 deletions services/traefik/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ VOLUME_DIR=
## Global settings ##
LOG_LEVEL=

## Traefik Hub token ##
TRAEFIK_HUB_TOKEN=

## Domain settings ##
DOMAIN1=
DOMAIN2=
Expand Down
23 changes: 1 addition & 22 deletions services/traefik/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,9 @@
version: "3.7"

services:
### Traefik Hub Agent: Traefik Hub agent for Traefik ###
traefik-hub-agent:
image: ghcr.io/traefik/hub-agent-traefik:v1.0.1
container_name: traefik-hub-agent
restart: always
depends_on:
- traefik
command:
- run
- --hub.token=${TRAEFIK_HUB_TOKEN}
- --auth-server.advertise-url=http://traefik-hub-agent
- --traefik.host=traefik
- --traefik.tls.insecure=true
volumes:
- /var/run/docker.sock:/var/run/docker.sock

### Traefik: An open-source Edge Router that makes publishing your services a fun and easy experience ###
traefik:
image: traefik:2.9
image: traefik:2.10
container_name: traefik
restart: always
extra_hosts:
Expand All @@ -35,11 +19,6 @@ services:
- --global.checkNewVersion=true
- --global.sendAnonymousUsage=true

## Enable Hub communication (open the port 9900 and 9901 by default)
- --experimental.hub=true
- --hub.tls.insecure=true
- --metrics.prometheus.addrouterslabels=true

## Log Settings (options: ERROR, DEBUG, PANIC, FATAL, WARN, INFO) - https://docs.traefik.io/observability/logs ##
- --log=true
- --log.level=${LOG_LEVEL}
Expand Down

0 comments on commit 63de5ba

Please sign in to comment.