From e8835f858effc615f27984352d29e3aa2e5ed19c Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 23 Apr 2024 22:28:16 +0100 Subject: [PATCH] Add commands to start and stop Traefik --- bin/start-traefik | 9 +++++++++ bin/stop-traefik | 7 +++++++ 2 files changed, 16 insertions(+) create mode 100755 bin/start-traefik create mode 100755 bin/stop-traefik diff --git a/bin/start-traefik b/bin/start-traefik new file mode 100755 index 0000000..c155e7e --- /dev/null +++ b/bin/start-traefik @@ -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 diff --git a/bin/stop-traefik b/bin/stop-traefik new file mode 100755 index 0000000..813e3c2 --- /dev/null +++ b/bin/stop-traefik @@ -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