Add commands to start and stop Traefik

This commit is contained in:
Oliver Davies 2024-04-23 22:28:16 +01:00
parent 1f447ad8dc
commit e8835f858e
2 changed files with 16 additions and 0 deletions

9
bin/start-traefik Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -o errexit
set -o nounset
cd "${REPOS}/github.com/opdavies/traefik-development"
docker compose up --detach
docker container ps

7
bin/stop-traefik Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -o errexit
set -o nounset
docker container stop traefik-development-reverse-proxy-1
docker container ps