traefik/README.md

25 lines
590 B
Markdown
Raw Permalink Normal View History

# Traefik
2020-06-17 06:23:01 +00:00
2023-10-16 23:21:44 +00:00
Wiki Cafe's configuration for a traefik deployment. Originally slimmed down from an `abra` [recipe](https://git.coopcloud.tech/coop-cloud/traefik) by [Co-op Cloud](https://coopcloud.tech/).
2023-08-13 01:54:58 +00:00
## Deploying the app with Docker Swarm
Set the environment variables from the .env file during the shell session.
```
2023-08-14 05:27:45 +00:00
set -a && source .env && set +a
2023-08-13 01:54:58 +00:00
```
2023-08-14 07:26:35 +00:00
Set the secrets.
```
printf "SECRET_HERE" | docker secret create SECRET_NAME -
```
2023-08-13 01:54:58 +00:00
Deploy using the `-c` flag to specify multiple compose files.
```
docker stack deploy traefik -c compose.yaml -c compose.googledomains.yaml
```