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
Marc Cataford 427ee18714
refactor: hoist start/stop/restart to top-level (#21)
* refactor: hoist start/stop/restart to top-level

* docs: README updates
2023-05-28 14:52:01 -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 feat: better auth service (#20) 2023-05-22 14:10:38 -04:00
README.md 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 feat: better auth service (#20) 2023-05-22 14:10:38 -04:00
traefik_dynamic_local.toml feat: better auth service (#20) 2023-05-22 14:10:38 -04: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.