From 0139e0bd628dfdeea719eb518ef69f11a55a1f5f Mon Sep 17 00:00:00 2001 From: Nils Jakobi Date: Sun, 15 Dec 2019 21:59:34 +0100 Subject: [PATCH] added start, stop scripts to folder --- docker-compose.yml | 1 + startWebsite.sh | 2 ++ stopWebsite.sh | 2 ++ 3 files changed, 5 insertions(+) create mode 100755 startWebsite.sh create mode 100755 stopWebsite.sh diff --git a/docker-compose.yml b/docker-compose.yml index 72f7037..e66a7dd 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,6 +2,7 @@ version: '3.7' services: web: image: fftdf/freifunk-rhein-sieg.net + container_name: freifunk-rhein-sieg.net restart: always networks: - proxy diff --git a/startWebsite.sh b/startWebsite.sh new file mode 100755 index 0000000..65061ae --- /dev/null +++ b/startWebsite.sh @@ -0,0 +1,2 @@ +#!/bin/sh +docker-compose -p freifunk-rhein-sieg.net up -d diff --git a/stopWebsite.sh b/stopWebsite.sh new file mode 100755 index 0000000..23b9b12 --- /dev/null +++ b/stopWebsite.sh @@ -0,0 +1,2 @@ +#!/bin/sh +docker-compose -p freifunk-rhein-sieg.net down