Another README pass
This commit is contained in:
parent
9efc3d9dc8
commit
1abcb119dd
10
README.md
10
README.md
@ -6,9 +6,11 @@
|
|||||||
|
|
||||||
> https://traefik.swarm.autonomic.zone
|
> https://traefik.swarm.autonomic.zone
|
||||||
|
|
||||||
## Local
|
## Development
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
$ python3 -m venv .venv && source .venv/bin/activate
|
||||||
|
$ pip install -U pip setuptools docker-compose
|
||||||
$ docker-compose up
|
$ docker-compose up
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -30,9 +32,9 @@ $ curl -H Host:whoami.localhost http://127.0.0.1
|
|||||||
|
|
||||||
Our [drone.autonomic.zone](https://drone.autonomic.zone/autonomic-cooperative/traefik/) configuration automatically deploys.
|
Our [drone.autonomic.zone](https://drone.autonomic.zone/autonomic-cooperative/traefik/) configuration automatically deploys.
|
||||||
|
|
||||||
Otherwise, you can need to follow 3 steps.
|
To do it manually, you need to follow 3 steps.
|
||||||
|
|
||||||
1. Create the remote docker context locally
|
1. Create the remote docker context locally.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cp .envrc.sample .envrc
|
$ cp .envrc.sample .envrc
|
||||||
@ -51,6 +53,8 @@ $ docker stack deploy \
|
|||||||
traefik
|
traefik
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You can track logs via `docker service logs traefik_traefik`
|
||||||
|
|
||||||
3. Switch back to your local context.
|
3. Switch back to your local context.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user