From de57216ba10050b99456dff60e736208493d49ed Mon Sep 17 00:00:00 2001 From: Nils Jakobi Date: Sun, 15 Dec 2019 22:01:37 +0100 Subject: [PATCH] added start, stop script and added containername --- 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 60508e7..f9c6e6d 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,6 +2,7 @@ version: '3.7' services: web: image: fftdf/freifunk-rhein-sieg.net:devel + container_name: test.freifunk-rhein-sieg.net restart: always networks: - proxy diff --git a/startWebsite.sh b/startWebsite.sh new file mode 100755 index 0000000..d5e02dc --- /dev/null +++ b/startWebsite.sh @@ -0,0 +1,2 @@ +#!/bin/sh +docker-compose -p test.freifunk-rhein-sieg.net up -d diff --git a/stopWebsite.sh b/stopWebsite.sh new file mode 100755 index 0000000..453a118 --- /dev/null +++ b/stopWebsite.sh @@ -0,0 +1,2 @@ +#!/bin/sh +docker-compose -p test.freifunk-rhein-sieg.net down