Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m-adamski/traefik-configuration
Traefik Docker configuration
https://github.com/m-adamski/traefik-configuration
docker docker-compose traefik
Last synced: 26 days ago
JSON representation
Traefik Docker configuration
- Host: GitHub
- URL: https://github.com/m-adamski/traefik-configuration
- Owner: m-adamski
- License: gpl-3.0
- Created: 2022-04-25T11:56:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-02T08:25:50.000Z (about 1 year ago)
- Last Synced: 2023-10-02T09:48:03.208Z (about 1 year ago)
- Topics: docker, docker-compose, traefik
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Traefik Docker configuration
Traefik documentation page: https://doc.traefik.io/traefik/
## Containers configuration
Sample configuration of all containers to be handled by traefik.```yaml
version: "3.9"services:
example:
image: example/example:latest
container_name: example-container
labels:
- traefik.enable=true
- traefik.http.services.example.loadbalancer.server.port=8080
- traefik.http.routers.example.rule=Host(`example.com`)
- traefik.http.routers.example.tls=true
networks:
- default
- reverse-proxy-network
restart: always
depends_on:
- databasenetworks:
reverse-proxy-network:
external: true
default:
driver: bridge
external: false
````