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. # 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". # 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. # Set to true if you want to see debug information in error screens.
APP_DEBUG=${APP_DEBUG} APP_DEBUG=${APP_DEBUG}
@@ -11,7 +11,7 @@ SITE_OWNER=${SITE_OWNER}
# The encryption key for your database and sessions. Keep this very secure. # 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. # 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 # 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. # Change this value to your preferred time zone.
# Example: Europe/Amsterdam # 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 # 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 # For other database types, please see the FAQ: http://firefly-iii.readthedocs.io/en/latest/support/faq.html
DB_CONNECTION=${FF_DB_CONNECTION} DB_CONNECTION=${DB_CONNECTION}
DB_HOST=${FF_DB_HOST} DB_HOST=${DB_HOST}
DB_PORT=${FF_DB_PORT} DB_PORT=${DB_PORT}
DB_DATABASE=${FF_DB_NAME} DB_DATABASE=${DB_NAME}
DB_USERNAME=${FF_DB_USER} DB_USERNAME=${DB_USER}
DB_PASSWORD="${FF_DB_PASSWORD}" DB_PASSWORD="${DB_PASSWORD}"
# PostgreSQL supports SSL. You can configure it here. # PostgreSQL supports SSL. You can configure it here.
PGSQL_SSL=${PGSQL_SSL} PGSQL_SSL=${PGSQL_SSL}

View File

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

View File

@@ -5,13 +5,13 @@ networks:
services: services:
firefly_iii_app: firefly_iii_app:
environment: environment:
- FF_DB_HOST=firefly_iii_db - DB_HOST=firefly_iii_db
- FF_DB_NAME=firefly - DB_NAME=firefly
- FF_DB_USER=firefly - DB_USER=firefly
- FF_DB_PASSWORD=firefly - DB_PASSWORD=firefly
- FF_APP_KEY=S0m3R@nd0mStr1ngOf32Ch@rsEx@ctly - APP_KEY=S0m3R@nd0mStr1ngOf32Ch@rsEx@ctly
- FF_APP_ENV=local - APP_ENV=local
- FF_DB_CONNECTION=pgsql - DB_CONNECTION=pgsql
- TZ=Europe/Amsterdam - TZ=Europe/Amsterdam
- APP_LOG_LEVEL=debug - APP_LOG_LEVEL=debug
image: jc5x/firefly-iii image: jc5x/firefly-iii

View File

@@ -27,7 +27,7 @@
convertNoticesToExceptions="true" convertNoticesToExceptions="true"
convertWarningsToExceptions="true" convertWarningsToExceptions="true"
processIsolation="false" processIsolation="false"
stopOnFailure="false"> stopOnFailure="true">
<listeners> <listeners>
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener" /> <listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener" />
</listeners> </listeners>

View File

@@ -27,7 +27,7 @@
convertNoticesToExceptions="true" convertNoticesToExceptions="true"
convertWarningsToExceptions="true" convertWarningsToExceptions="true"
processIsolation="false" processIsolation="false"
stopOnFailure="false"> stopOnFailure="true">
<listeners> <listeners>
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener" /> <listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener" />
</listeners> </listeners>