Skip to content

Commit 1b9028e

Browse files
v3.1.0
1 parent 2e1ff00 commit 1b9028e

5 files changed

Lines changed: 20 additions & 5 deletions

File tree

.env.dist

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ ACME_DNS_CHALLENGE_PROVIDER=gandiv5 # Use a DNS-01 based challenge provider rath
33
ACME_EMAIL=webmaster@my.domain.tld # Email address used for ACME registration
44
ACME_HTTP_CHALLENGE=false # Activate HTTP-01 Challenge
55
ACME_TLS_CHALLENGE=true # Activate TLS-ALPN-01 Challenge
6-
DEFAULT_DOMAIN=my.domain.tld # Default TLS domains
7-
HTTP_PORT=80 # HTTP listen port
6+
DEFAULT_DOMAIN=my.domain.tld # Default TLS domains
7+
HTTP_PORT=80 # HTTP listen port
88
HTTPS_PORT=443 # HTTPs listen port
9+
NETWORK_NAME=web # External network name
910
VERSION=v3.1 # Tag of the Docker image of Traefik

.renovate.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended"
5+
]
6+
}

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
<!-- markdownlint-configure-file { "MD024": { "siblings_only": true } } -->
99

10+
## [3.1.0] - 2025-12-05
11+
12+
### Added
13+
14+
- Environment variable `NETWORK_NAME` to configure external network name (default: `web`)
15+
1016
## [3.0.0] - 2025-01-06
1117

1218
### Changed
@@ -88,6 +94,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8894
- [Docker Compose](https://docs.docker.com/compose/) setup for starting [Traefik](https://traefik.io/)
8995
[v1.6](https://doc.traefik.io/traefik/v1.6/) with [Let's Encrypt](https://letsencrypt.org/).
9096

97+
[3.1.0]: https://usine.solution-libre.fr/docker/traefik/-/compare/v3.0.0...v3.1.0
9198
[3.0.0]: https://usine.solution-libre.fr/docker/traefik/-/compare/v2.2.0...v3.0.0
9299
[2.2.0]: https://usine.solution-libre.fr/docker/traefik/-/compare/v2.1.0...v2.2.0
93100
[2.1.0]: https://usine.solution-libre.fr/docker/traefik/-/compare/v2.0.0...v2.1.0

REFERENCE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@
1010
| DEFAULT_DOMAIN | Default TLS domains | `my.domain.tld` | true |
1111
| HTTP_PORT | HTTP listen port | `80` | true |
1212
| HTTPS_PORT | HTTPs listen port | `443` | true |
13+
| NETWORK_NAME | External network name | `web` | true |
1314
| VERSION | Tag of the Docker image of Traefik | `v3.1` | true |

compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
# along with Traefik with Docker Compose. If not, see <https://www.gnu.org/licenses/>.
1717

1818
networks:
19-
web:
19+
${NETWORK_NAME:-web}:
2020
external: true
2121

2222
services:
2323
traefik:
2424
environment:
2525
TRAEFIK_TRAEFIK_PROVIDERS_DOCKER: true
2626
TRAEFIK_PROVIDERS_DOCKER_EXPOSEDBYDEFAULT: false
27-
TRAEFIK_PROVIDERS_DOCKER_NETWORK: web
27+
TRAEFIK_PROVIDERS_DOCKER_NETWORK: ${NETWORK_NAME:-web}
2828
TRAEFIK_PROVIDERS_FILE_DIRECTORY: /etc/traefik
2929
TRAEFIK_PROVIDERS_FILE_WATCH: true
3030
TRAEFIK_ENTRYPOINTS_WEB_ADDRESS: :${HTTP_PORT}
@@ -44,7 +44,7 @@ services:
4444
env_file: '.env.traefik'
4545
image: traefik:${VERSION}
4646
networks:
47-
- web
47+
- ${NETWORK_NAME:-web}
4848
ports:
4949
- ${HTTP_PORT}:${HTTP_PORT}
5050
- ${HTTPS_PORT}:${HTTPS_PORT}

0 commit comments

Comments
 (0)