Go to file Use this template
2023-12-05 11:41:04 +01:00
tls-data inital commit 2023-11-24 17:46:05 +01:00
.env.sample inital testing 2023-11-24 17:49:45 +01:00
.gitignore inital testing 2023-11-24 17:49:45 +01:00
acme.json inital commit 2023-11-24 17:46:05 +01:00
docker-compose-whoami.yml inital commit 2023-11-24 17:46:05 +01:00
docker-compose.yml changed version 2023-12-05 11:41:04 +01:00
init inital commit 2023-11-24 17:46:05 +01:00
LICENSE Initial commit 2023-11-24 17:40:17 +01:00
README.md changed README.md 2023-11-25 14:07:15 +01:00
tls.yml changed version 2023-12-05 11:41:04 +01:00
traefik.yml changed version 2023-12-05 11:41:04 +01:00

traefik

get started

you will need a .env file

sample .env:

# .env

PROJECT_NAME=sample
PROJECT_URL=localhost
TRAEFIK_NETWORK=traefik_net

place the tls crt and key in the tls-data and append them also to the tls.yml

then execute init with

chmod +x init && ./init

now traefik gui should be accessable: https://${PROJECT_URL} if you use the sample .env: https://localhost

test your compose network

to test your traefik network you can start the whoami compose with:

docker compose -f ./docker-compose-whoami.yml up -d

you can stop the whoami with

docker compose -f ./docker-compose-whoami.yml down -v