Added time sync and nginx:alpine tag, fixed questions

This commit is contained in:
WilliamMiceli
2018-12-06 15:41:17 -05:00
parent 929ac4fc10
commit 81f9135af2
2 changed files with 21 additions and 1 deletions

View File

@@ -14,6 +14,8 @@ services:
- mysql - mysql
restart: on-failure restart: on-failure
volumes: 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 - /RancherCattleConfig/${DATA_DIR}/.env:/var/www/app/.env
- /RancherCattleData/${DATA_DIR}/Logo:/var/www/app/public/logo - /RancherCattleData/${DATA_DIR}/Logo:/var/www/app/public/logo
- /RancherCattleData/${DATA_DIR}/Storage:/var/www/app/storage - /RancherCattleData/${DATA_DIR}/Storage:/var/www/app/storage
@@ -60,9 +62,11 @@ services:
traefik.enable: false traefik.enable: false
restart: on-failure restart: on-failure
volumes: 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 - /RancherCattleData/${DATA_DIR}/Database:/var/lib/mysql
nginx: nginx:
image: nginx image: nginx:alpine
dns: dns:
- 1.1.1.1 - 1.1.1.1
- 1.0.0.1 - 1.0.0.1

View File

@@ -33,6 +33,22 @@ catalog:
required: true required: true
type: string 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 - variable: DATA_DIR
label: "Data Directory" label: "Data Directory"
description: | description: |