diff --git a/templates/InvoiceNinja/0/docker-compose.yml b/templates/InvoiceNinja/0/docker-compose.yml index 698e060..d7aae3b 100644 --- a/templates/InvoiceNinja/0/docker-compose.yml +++ b/templates/InvoiceNinja/0/docker-compose.yml @@ -5,7 +5,7 @@ services: environment: APP_ENV: production APP_DEBUG: false - APP_URL: http://localhost:${WEB_PORT} + APP_URL: http://localhost:${HTTP_PORT} APP_CIPHER: AES-256-CBC APP_KEY: ${APP_KEY} DB_STRICT: false @@ -39,7 +39,7 @@ services: environment: APP_ENV: production APP_DEBUG: false - APP_URL: http://localhost:${WEB_PORT} + APP_URL: http://localhost:${HTTP_PORT} APP_CIPHER: AES-256-CBC APP_KEY: ${APP_KEY} DB_STRICT: false @@ -79,7 +79,7 @@ services: links: - app ports: - - "${WEB_PORT}:80" + - "${HTTP_PORT}:80" restart: on-failure volumes: - ${STORAGE_BASE_DIR}${CONFIG_DIR}/nginx.conf:/etc/nginx/nginx.conf:ro diff --git a/templates/InvoiceNinja/0/rancher-compose.yml b/templates/InvoiceNinja/0/rancher-compose.yml index 5a3a220..4843df2 100644 --- a/templates/InvoiceNinja/0/rancher-compose.yml +++ b/templates/InvoiceNinja/0/rancher-compose.yml @@ -2,8 +2,12 @@ version: '2' catalog: name: "InvoiceNinja" version: "latest" - description: Invoicing + # description: + # minimum_rancher_version: + # maximum_rancher_version: + # upgrade_from: questions: + - variable: "LABEL_KEY_VALUE" label: "Host Label Key/Value Pair" description: | @@ -11,13 +15,15 @@ catalog: default: "host.id=0000" required: false type: string - - variable: "WEB_PORT" - label: "Web Port" + + - variable: "HTTP_PORT" + label: "HTTP Port" description: | - The port to access the web interface on. + The HTTP port to access the web interface on. default: "8000" required: true type: string + - variable: "STORAGE_BASE_DIR" label: "Base Storage Directory" description: | @@ -25,13 +31,15 @@ catalog: default: "/RancherStorage/InvoiceNinja" required: true type: string + - variable: "LOGO_DIR" label: "Logo Directory" description: | - The + The folder for persistent logo files. default: "/Logo" required: true type: string + - variable: "STORAGE_DIR" label: "Storage Directory" description: | @@ -39,6 +47,7 @@ catalog: default: "/Storage" required: true type: string + - variable: "DB_DIR" label: "Database Directory" description: | @@ -46,6 +55,7 @@ catalog: default: "/Database" required: true type: string + - variable: "CONFIG_DIR" label: "Configuration Directory" description: | @@ -53,6 +63,7 @@ catalog: default: "/Config" required: true type: string + - variable: "APP_KEY" label: "Encryption Key" description: |