Skip to content

Commit

Permalink
Configurable traefik and ddns tags (#1458)
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne authored Jul 31, 2023
1 parent 98d4b21 commit 51d997c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
4 changes: 4 additions & 0 deletions default.env
Original file line number Diff line number Diff line change
Expand Up @@ -238,5 +238,9 @@ DEPCLI_SRC_BUILD_TARGET='$(git describe --tags $(git rev-list --tags --max-count
# Does not (yet?) exist on Docker hub
DEPCLI_DOCKER_TAG=nonesuch

# traefik and cf-ddns
TRAEFIK_TAG=v2.10
DDNS_TAG=3

# For the Node Dashboard, define a regex of mount points to ignore for the diskspace check.
NODE_EXPORTER_IGNORE_MOUNT_REGEX='^/(dev|proc|sys|run|var/lib/docker/.+)($|/)'
2 changes: 1 addition & 1 deletion ethd
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ envmigrate() {
TEKU_DOCKERFILE LH_SRC_BUILD_TARGET LH_DOCKER_TAG LH_DOCKERFILE PRYSM_SRC_BUILD_TARGET \
PRYSM_DOCKER_TAG PRYSM_DOCKER_VC_TAG PRYSM_DOCKERFILE ERIGON_SRC_BUILD_TARGET ERIGON_DOCKER_TAG \
ERIGON_DOCKERFILE MEV_DOCKERFILE MEV_DOCKER_TAG NIMEL_SRC_BUILD_TARGET NIMEL_DOCKER_TAG NIMEL_DOCKERFILE \
LS_SRC_BUILD_TARGET LS_DOCKER_TAG LS_DOCKERFILE GETH_SRC_BUILD_TARGET GETH_DOCKER_TAG \
LS_SRC_BUILD_TARGET LS_DOCKER_TAG LS_DOCKERFILE GETH_SRC_BUILD_TARGET GETH_DOCKER_TAG TRAEFIK_TAG DDNS_TAG \
GETH_DOCKERFILE NM_SRC_BUILD_TARGET NM_DOCKER_TAG NM_DOCKERFILE BESU_SRC_BUILD_TARGET \
BESU_DOCKER_TAG BESU_DOCKERFILE SSV2_NODE_TAG DEPCLI_SRC_BUILD_TARGET DEPCLI_DOCKER_TAG W3S_DOCKER_TAG \
PG_DOCKER_TAG RETH_SRC_BUILD_TARGET RETH_DOCKER_TAG RETH_DOCKERFILE NODE_EXPORTER_IGNORE_MOUNT_REGEX )
Expand Down
2 changes: 2 additions & 0 deletions traefik-aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ services:
image: traefik-aws
build:
context: ./traefik
args:
- DOCKER_TAG=${TRAEFIK_TAG}
restart: "unless-stopped"
command:
# - --accesslog=true
Expand Down
4 changes: 2 additions & 2 deletions traefik-cf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ x-logging: &logging

services:
traefik:
image: traefik:v2.10
image: traefik:${TRAEFIK_TAG}
restart: "unless-stopped"
command:
# - --accesslog=true
Expand Down Expand Up @@ -47,7 +47,7 @@ services:
<<: *logging

cf-ddns:
image: ghcr.io/joshuaavalon/cloudflare-ddns:3
image: ghcr.io/joshuaavalon/cloudflare-ddns:${DDNS_TAG}
restart: "unless-stopped"
environment:
- CF_DNS__LOG_LEVEL=${LOG_LEVEL:-info}
Expand Down
3 changes: 2 additions & 1 deletion traefik/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Add AWS CLI to traefik image
ARG DOCKER_TAG

FROM traefik:v2.10
FROM traefik:${DOCKER_TAG}

RUN apk add --no-cache \
python3 \
Expand Down

0 comments on commit 51d997c

Please sign in to comment.