This repository has been archived on 2020-09-29. You can view files and clone it, but cannot push or open issues or pull requests.
2020-04-25 09:13:45 +00:00
|
|
|
# traefik
|
|
|
|
|
2020-04-28 12:56:02 +00:00
|
|
|
[![Build Status](https://drone.autonomic.zone/api/badges/autonomic-cooperative/traefik/status.svg)](https://drone.autonomic.zone/autonomic-cooperative/traefik)
|
|
|
|
|
2020-04-25 09:13:45 +00:00
|
|
|
> https://docs.traefik.io/
|
2020-04-28 13:07:48 +00:00
|
|
|
|
|
|
|
> https://traefik.swarm.autonomic.zone
|
2020-04-30 10:21:28 +00:00
|
|
|
|
2020-04-30 10:23:18 +00:00
|
|
|
## Development
|
2020-04-30 10:21:28 +00:00
|
|
|
|
|
|
|
```bash
|
2020-04-30 18:31:08 +00:00
|
|
|
$ git clone https://git.autonomic.zone/autonomic-cooperative/traefik && cd traefik
|
2020-04-30 10:23:18 +00:00
|
|
|
$ python3 -m venv .venv && source .venv/bin/activate
|
|
|
|
$ pip install -U pip setuptools docker-compose
|
2020-04-30 10:21:28 +00:00
|
|
|
$ docker-compose up
|
|
|
|
```
|
|
|
|
|
|
|
|
Traefik dashboard:
|
|
|
|
|
|
|
|
> http://traefik.localhost
|
|
|
|
|
|
|
|
Test application:
|
|
|
|
|
|
|
|
> http://whoami.localhost
|
|
|
|
|
|
|
|
Also available via (testing routing of proxy):
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ curl -H Host:whoami.localhost http://127.0.0.1
|
|
|
|
```
|
|
|
|
|
|
|
|
## Production
|
|
|
|
|
2020-04-30 18:30:22 +00:00
|
|
|
1. Our [drone.autonomic.zone](https://drone.autonomic.zone/autonomic-cooperative/traefik/) configuration automatically deploys.
|
|
|
|
1. For a manual deploy guide, see [this documentation](https://git.autonomic.zone/autonomic-cooperative/organising/wiki/working-with-docker-swarm).
|