https://github.com/prabaprakash/docker-n-traefik
Service discovery with traefik with jaeger tracing
https://github.com/prabaprakash/docker-n-traefik
docker docker-compose golang java nginx nodejs traefik
Last synced: 9 days ago
JSON representation
Service discovery with traefik with jaeger tracing
- Host: GitHub
- URL: https://github.com/prabaprakash/docker-n-traefik
- Owner: prabaprakash
- Created: 2019-02-18T18:35:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T13:15:42.000Z (over 2 years ago)
- Last Synced: 2025-04-11T12:19:48.538Z (2 months ago)
- Topics: docker, docker-compose, golang, java, nginx, nodejs, traefik
- Language: Lua
- Homepage:
- Size: 467 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker-n-Traefik
Service Discovery with Traefik1. Apache utils
```bash
sudo apt-get install apache2-utils
htpasswd -nb admin password
admin:$apr1$d.N9fSyN$laldHl2TvioNvPvQ7pQVn1
```
copy generated hash and paste in traefik.toml in line 52. Docker create network for services
```bash
docker network create proxy
```3. Create acme json file and do change file mod
```bash
touch acme.json
chmod 600 acme.json
```
4. Run the traefik```bash
docker run -d \
-v /var/run/docker.sock:/var/run/docker.sock \
-v $PWD/traefik.toml:/traefik.toml \
-v $PWD/acme.json:/acme.json \
-p 80:80 \
-p 443:443 \
-l traefik.frontend.rule=Host:monitor.southindiantrekkers.org \
-l traefik.port=8080 \
--network proxy \
--name traefik \
traefik:v1.7.8 --docker
```