Merge branch 'develop/invoiceninja'

This commit is contained in:
WilliamMiceli
2018-12-06 16:26:51 -05:00
3 changed files with 25 additions and 2 deletions

View File

@@ -23,3 +23,6 @@ Get an API Key [Here](https://developers.google.com/maps/documentation/javascrip
Then add GOOGLE_MAPS_API_KEY=<your key> in your .env file.
If using without HTTPS (like using the direct IP instead of through Traefik), please take out the line: "fastcgi_param HTTPS 1;" from your nginx.conf
### To-Do List
* Add documentation for easier adding environment variables, and see if there's a better way to do so

View File

@@ -14,6 +14,8 @@ services:
- mysql
restart: on-failure
volumes:
- /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system
- /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
- /RancherCattleConfig/${DATA_DIR}/.env:/var/www/app/.env
- /RancherCattleData/${DATA_DIR}/Logo:/var/www/app/public/logo
- /RancherCattleData/${DATA_DIR}/Storage:/var/www/app/storage
@@ -60,9 +62,11 @@ services:
traefik.enable: false
restart: on-failure
volumes:
- /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system
- /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
- /RancherCattleData/${DATA_DIR}/Database:/var/lib/mysql
nginx:
image: nginx
image: nginx # Alpine does not work (last checked 6 December 2018)
dns:
- 1.1.1.1
- 1.0.0.1

View File

@@ -33,6 +33,22 @@ catalog:
required: true
type: string
- variable: "DB_ROOT_PASS"
label: "MySQL Root Password"
description: |
A secure password to be used by the "root" MySQL user.
# default:
required: true
type: password
- variable: "DB_USER_PASS"
label: "MySQL User Password"
description: |
A secure password to be used by the "ninja" MySQL user.
# default:
required: true
type: password
- variable: DATA_DIR
label: "Data Directory"
description: |