diff --git a/README.md b/README.md
index d21845f0060964c1e9e1024f103118c311580313..28a3c20809ff2c933a85a07fd71aff363fbb79ac 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@
 <!-- markdownlint-enable line-length -->
 
 [This project](https://gitlab.com/b-data/docker/deployments/traefik) serves as
-a template to run [Træfik](https://hub.docker.com/_/traefik) v2.11 in a docker
+a template to run [Træfik](https://hub.docker.com/_/traefik) v3.1 in a docker
 container using docker compose.
 
 The goal is to set up a TLS termination proxy for all Docker containers
diff --git a/sample..env b/sample..env
index cf3c4df81fcb2a649c188563991ac0d920640069..521fadb4693079f096b5dfcbe653898929eb05f5 100644
--- a/sample..env
+++ b/sample..env
@@ -7,7 +7,7 @@ COMPOSE_PROJECT_NAME=webproxy
 TF_HOME=
 
 ## Version
-TF_VERSION=2.11
+TF_VERSION=3.1
 
 ## Certificate Resolvers
 TF_ACME_EMAIL=postmaster@mydomain.com