traefik/README.md

39 lines
722 B
Markdown
Raw Normal View History

2023-11-24 17:40:17 +01:00
# traefik
2023-11-25 14:07:15 +01:00
## get started
2023-11-24 17:46:05 +01:00
you will need a .env file
sample .env:
2023-11-25 14:07:15 +01:00
2023-11-24 17:46:05 +01:00
# .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
2023-11-25 14:07:15 +01:00
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
2023-11-24 17:46:05 +01:00
2023-11-25 14:07:15 +01:00
## additional links
2023-11-24 17:46:05 +01:00
- [traefik docu](https://doc.traefik.io/traefik/)