changed README.md #2
24
README.md
24
README.md
@ -1,11 +1,11 @@
|
|||||||
# traefik
|
# traefik
|
||||||
|
|
||||||
### get started
|
## get started
|
||||||
|
|
||||||
you will need a .env file
|
you will need a .env file
|
||||||
|
|
||||||
sample .env:
|
sample .env:
|
||||||
|
|
||||||
# .env
|
# .env
|
||||||
|
|
||||||
PROJECT_NAME=sample
|
PROJECT_NAME=sample
|
||||||
@ -16,8 +16,24 @@ place the tls crt and key in the tls-data
|
|||||||
and append them also to the tls.yml
|
and append them also to the tls.yml
|
||||||
|
|
||||||
|
|
||||||
then execute init
|
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
|
||||||
|
|
||||||
|
|
||||||
### additional links
|
## 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
|
||||||
|
|
||||||
|
|
||||||
|
## additional links
|
||||||
- [traefik docu](https://doc.traefik.io/traefik/)
|
- [traefik docu](https://doc.traefik.io/traefik/)
|
Loading…
Reference in New Issue
Block a user