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.
b34be93d5bffc81e76f74595253a64182638424a
traefik
Development
$ python3 -m venv .venv && source .venv/bin/activate
$ pip install -U pip setuptools docker-compose
$ docker-compose up
Traefik dashboard:
Test application:
Also available via (testing routing of proxy):
$ curl -H Host:whoami.localhost http://127.0.0.1
Production
Our drone.autonomic.zone configuration automatically deploys.
To do it manually, you need to follow 3 steps.
- Create the remote docker context locally.
$ cp .envrc.sample .envrc
$ direnv allow # ensure password store works
$ make config
$ make context
$ docker context use swarm.autonomic.zone
- Deploy the application to the remote docker context.
$ docker stack deploy \
-c docker-compose.yml \
-c docker-compose.production.yml \
traefik
You can track logs via docker service logs traefik_traefik
- Switch back to your local context.
$ docker context use default
Description
Open source edge router that makes publishing your services a fun and easy experience