Skip to content

Commit

Permalink
Traefik for latest
Browse files Browse the repository at this point in the history
  • Loading branch information
westfood committed Jan 5, 2025
1 parent fec8878 commit 2c299b8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
8 changes: 4 additions & 4 deletions ci/files/traefik/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version: '3.0'
version: "3.0"

services:
reverse-proxy:
# The official v2 Traefik docker image
image: traefik:{{ treafik_tag }}
image: traefik:latest
# Enables the web UI and tells Traefik to listen to docker
command: --api.insecure=true --providers.docker
ports:
Expand All @@ -12,5 +12,5 @@ services:
# The Web UI (enabled by --api.insecure=true)
- "80:8080"
volumes:
# So that Traefik can listen to the Docker events
- /var/run/docker.sock:/var/run/docker.sock
# So that Traefik can listen to the Docker events
- /var/run/docker.sock:/var/run/docker.sock
3 changes: 0 additions & 3 deletions ci/group_vars/prod/main.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# Environment - is it production, test or local development?
env: prod

# Traefik version
treafik_tag: v3.2.3

pywb_traefik_configuration: "traefik.http.routers.pywb.rule=Host(`pywb.webarchiv.cz`)"

# Directory where pywb is installed
Expand Down
3 changes: 0 additions & 3 deletions ci/group_vars/test/main.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# Environment - is it production, test or local development?
env: test

# Traefik version, be aware production is using v3.2.3.
treafik_tag: latest

pywb_traefik_configuration: "traefik.http.routers.pywb.rule=Host(`localhost`) || Host(`10.3.0.21`) || Host(`test.pywb.webarchiv.cz`)"

# Directory where pywb is installed, be aware production is using hardcoded pywb tag.
Expand Down

0 comments on commit 2c299b8

Please sign in to comment.