This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
spadinastan/services/traefik
2023-04-05 13:46:17 -04:00
..
.env feat: move acme out of repo 2022-12-11 13:57:08 -05:00
.gitignore refactor: group services in top-level directory 2022-12-04 13:40:59 -05:00
docker-compose.yml infra: ensure containers restart if docker restarts 2023-04-05 13:46:17 -04:00
README.md refactor: group services in top-level directory 2022-12-04 13:40:59 -05:00
tasks.py refactor: group services in top-level directory 2022-12-04 13:40:59 -05:00
traefik.toml Feat/monolith auth (#15) 2022-12-05 00:05:29 -05:00
traefik_dynamic.toml fix: missing middleware 2022-12-21 14:35:32 -05:00

Traefik

Traefik is a proxy / API Gateway.

Setup

inv traefik.start will start the service.

When initializing for the first time, you should first touch acme.json and chmod 600 acme.json to ensure that the certificate can be created and accessed by Traefik properly.

Adding services

Adding services is done via Docker Compose labels. Any service with the traefik.enable label will be picked up by the gateway.