https://github.com/talyguryn/traefik-local
https://github.com/talyguryn/traefik-local
docker docker-compose traefik
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/talyguryn/traefik-local
- Owner: talyguryn
- Created: 2024-03-16T08:49:56.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-21T07:07:45.000Z (about 2 years ago)
- Last Synced: 2025-09-15T18:59:45.931Z (10 months ago)
- Topics: docker, docker-compose, traefik
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Traefik
Example of running on localhost.


## How to run
Create network `traefik`
```
docker network create traefik
```
Update `/etc/hosts` file.
```
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
127.0.0.1 traefik.local
127.0.0.1 grafana.local
127.0.0.1 prometheus.local
127.0.0.1 whoami.local
127.0.0.1 nginx.local
127.0.0.1 wordpress.local
```
Run traefik container
```
cd traefik
docker-compose up -d
```
Run other containers.