Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
phundament
app
Commits
c2c1dc2b
Commit
c2c1dc2b
authored
Mar 31, 2016
by
Tobias Munk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated ENV defaults
parent
34fdebbf
Pipeline
#8464
passed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
.env-dist
.env-dist
+6
-5
No files found.
.env-dist
View file @
c2c1dc2b
...
...
@@ -10,19 +10,20 @@ YII_TRACE_LEVEL = 0
# Application
# -----------
APP_NAME = app
APP_NAME =
my-
app
APP_TITLE = "My Application"
APP_LANGUAGES = en,de
#APP_CONFIG_FILE = /app/src/config/local.php
APP_PRETTY_URLS = 1
APP_ASSET_FORCE_PUBLISH = 0
APP_ASSET_USE_BUNDLED = 0
APP_ADMIN_EMAIL = admin@myapp.local
APP_ADMIN_PASSWORD = admin
APP_MIGRATION_LOOKUP = @app/migrations
APP_COOKIE_VALIDATION_KEY = change_me-ab6Oip1cat5Gef5m-change_me
APP_PRETTY_URLS = 1
APP_ASSET_FORCE_PUBLISH = 0
APP_ASSET_USE_BUNDLED = 0
DOCS_API_PATHS = src,vendor/schmunk42,vendor/dmstr,vendor/codemix
# Database
...
...
@@ -39,7 +40,7 @@ DB_ENV_MYSQL_DATABASE = ${APP_NAME}
DB_ENV_MYSQL_USER = ${APP_NAME}
DB_ENV_MYSQL_PASSWORD = dev123
#
Application ENV variables
#
Database ENV variables for Yii 2.0 Framework
DATABASE_DSN_BASE = "mysql:host=${DB_PORT_3306_TCP_ADDR};port=${DB_PORT_3306_TCP_PORT}"
DATABASE_DSN_DB = "${DB_ENV_MYSQL_DATABASE}"
DATABASE_DSN = "${DATABASE_DSN_BASE};dbname=${DATABASE_DSN_DB}"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment