Skip to content

Commit

Permalink
Document CLI tools
Browse files Browse the repository at this point in the history
  • Loading branch information
maiorano84 committed Dec 18, 2020
1 parent ce10e14 commit b8af866
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,28 @@ automatically proxy requests to the running NGINX configuration.

```
docker network create -d bridge traefik-network
docker build -t traefik-web ./docker/traefik
```

## Container

```
docker build -t traefik-web ./docker/traefik
docker run -itd --restart unless-stopped \
-p 80:80 -p 8080:8080 \
-v /var/run/docker.sock:/var/run/docker.sock \
--name=traefik --network=traefik-network traefik-web
```

Once running, you may also access the Traefik Dashboard by navigating to http://localhost:8080

# CLI Tools

Some command line tools are available as Compose services to make life a little easier:

* `composer` - [Composer](https://getcomposer.org/)
* `wp` - [WP CLI](https://wp-cli.org/)
* `wordmove` - [Wordmove](https://github.com/welaika/wordmove)

To run a CLI command as a service, simply run the following:

`docker-compose -f docker-compose.cli.yml run --rm <service>...`

0 comments on commit b8af866

Please sign in to comment.