Robert Middleswarth 3 years ago
parent
commit
86c8c0dd26
3 changed files with 5 additions and 3 deletions
  1. 2 2
      stack/vikunja.yml
  2. 3 1
      tools/install_throttled.sh
  3. 0 0
      tools/unpoller-install.sh

+ 2 - 2
stack/vikunja.yml

@@ -40,8 +40,6 @@ services:
     container_name: frontend
     hostname: frontend
     image: vikunja/frontend:latest
-    environment:
-      VIKUNJA_API_URL: http://vikunja-api:3456/api/v1
     networks:
       - network
     restart: unless-stopped
@@ -49,6 +47,8 @@ services:
       - api
 
   proxy:
+    container_name: proxy
+    hostname: proxy
     image: nginx
     ports:
       - 3546:80

+ 3 - 1
tools/install_throttled.sh

@@ -17,6 +17,8 @@ function check_internet() {
 
 check_internet
 
-echo "Downloading vikunja config files"
+echo "Creating directories..."
+sudo mkdir -p /portainer/Files/AppData/Config/Vikunja || error "Failed to create Vikunja directory!"
+eecho "Downloading vikunja config files"
 sudo wget -O /portainer/Files/AppData/Config/Vikunja/nginx.conf https://raw.githubusercontent.com/novaspirit/pi-hosted/master/configs/vikunja_nginx.conf || error "Failed to download nginx.conf file!"
 echo "Done You are ready to install the Vikunja Template"

+ 0 - 0
tools/unpoller-install.sh