Rename env variables.

This commit is contained in:
James Cole
2019-06-08 06:18:55 +02:00
parent 3681bf258b
commit 7c2c24d330
5 changed files with 23 additions and 23 deletions

View File

@@ -1,6 +1,6 @@
# You can leave this on "local". If you change it to production most console commands will ask for extra confirmation.
# Never set it to "testing".
APP_ENV=${FF_APP_ENV}
APP_ENV=${APP_ENV}
# Set to true if you want to see debug information in error screens.
APP_DEBUG=${APP_DEBUG}
@@ -11,7 +11,7 @@ SITE_OWNER=${SITE_OWNER}
# The encryption key for your database and sessions. Keep this very secure.
# If you generate a new one all existing data must be considered LOST.
# Change it to a string of exactly 32 chars or use command `php artisan key:generate` to generate it
APP_KEY=${FF_APP_KEY}
APP_KEY=${APP_KEY}
# Change this value to your preferred time zone.
# Example: Europe/Amsterdam
@@ -38,12 +38,12 @@ APP_LOG_LEVEL=${APP_LOG_LEVEL}
# Database credentials. Make sure the database exists. I recommend a dedicated user for Firefly III
# For other database types, please see the FAQ: http://firefly-iii.readthedocs.io/en/latest/support/faq.html
DB_CONNECTION=${FF_DB_CONNECTION}
DB_HOST=${FF_DB_HOST}
DB_PORT=${FF_DB_PORT}
DB_DATABASE=${FF_DB_NAME}
DB_USERNAME=${FF_DB_USER}
DB_PASSWORD="${FF_DB_PASSWORD}"
DB_CONNECTION=${DB_CONNECTION}
DB_HOST=${DB_HOST}
DB_PORT=${DB_PORT}
DB_DATABASE=${DB_NAME}
DB_USERNAME=${DB_USER}
DB_PASSWORD="${DB_PASSWORD}"
# PostgreSQL supports SSL. You can configure it here.
PGSQL_SSL=${PGSQL_SSL}

View File

@@ -44,17 +44,17 @@ spec:
- image: firefly-local
name: firefly-local
env:
- name: FF_APP_ENV
- name: APP_ENV
value: "local"
- name: FF_APP_KEY
- name: APP_KEY
value: "S0m3R@nd0mString0f32Ch@rsEx@ct1y"
- name: FF_DB_HOST
- name: DB_HOST
value: "172.17.0.9"
- name: FF_DB_NAME
- name: DB_NAME
value: "firefly_db"
- name: FF_DB_USER
- name: DB_USER
value: "firefly_db"
- name: FF_DB_PASSWORD
- name: DB_PASSWORD
value: "password"
volumeMounts:
- mountPath: "/var/www/firefly-iii/storage/export"