Init Comit

This commit is contained in:
Christian Regnery 2024-12-29 18:51:38 +01:00
commit 3cdaa4b1b3
4 changed files with 42 additions and 0 deletions

0
acme.json Normal file
View File

19
docker-compose.yml Normal file
View File

@ -0,0 +1,19 @@
services:
traefik:
image: traefik:v3
container_name: traefik
restart: always
ports:
- 80:80
- 443:443
- 8080:8080 # Dashboard
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./traefik.yml:/traefik.yml:ro # Statische Konfiguration
# - ./services.yml:/services.yml:ro # Dynamische Konfiguration für nicht-Docker Services
- ./acme.json:/acme.json # Zertifikate
environment:
- NETCUP_CUSTOMER_NUMBER=${NETCUP_CUSTOMER_NUMBER}
- NETCUP_API_KEY=${NETCUP_API_KEY}
- NETCUP_API_PASSWORD=${NETCUP_API_PASSWORD}
- NETCUP_PROPAGATION_TIMEOUT=${NETCUP_PROPAGATION_TIMEOUT}

1
services.yml Normal file
View File

@ -0,0 +1 @@

22
traefik.yml Normal file
View File

@ -0,0 +1,22 @@
entryPoints:
web:
address: ":80"
websecure:
address: ":443"
providers:
docker:
exposedByDefault: false
# file:
# filename: /services.yml
# watch: true # Automatische Aktualisierung der Konfiguration
certificatesResolvers:
letsencrypt:
acme:
email: stefan@regnery.biz
storage: acme.json
dnsChallenge:
provider: netcup
api:
insecure: true