From e97a339789a1a4a9d704cbda4920f9a8a65aa654 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Wed, 8 Jul 2020 14:49:06 +0200 Subject: [PATCH] fix .env file missing --- setup-scripts/setup-docker-services.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup-scripts/setup-docker-services.sh b/setup-scripts/setup-docker-services.sh index 7d2ed013..586323dd 100755 --- a/setup-scripts/setup-docker-services.sh +++ b/setup-scripts/setup-docker-services.sh @@ -17,9 +17,6 @@ sudo curl -L "https://github.com/docker/compose/releases/download/1.25.5/docker- sudo chmod +x /usr/local/bin/docker-compose docker-compose --version # sanity check -# Start docker container with nginx and client -sudo docker-compose -f docker-compose.yml up --build -d - # Create dummy .env file for docker-compose usage with veriables # DOMAIN_NAME - the domain name your server is using ie. example.com # EMAIL_ADDRESS - this is the administrator contact email you need to supply for communication regarding SSL certification @@ -28,3 +25,6 @@ sudo docker-compose -f docker-compose.yml up --build -d if ! [ -f /home/user/skynet-webportal/.env ]; then printf "DOMAIN_NAME=example.com\nEMAIL_ADDRESS=email@example.com\nSIA_API_AUTHORIZATION=\nCLOUDFLARE_AUTH_TOKEN=\n" > /home/user/skynet-webportal/.env fi + +# Start docker container with nginx and client +sudo docker-compose -f docker-compose.yml up --build -d \ No newline at end of file