Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fahrtenbuch
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWP WS21_22 - Fahrtenbuch
Team Einhorn
fahrtenbuch
Commits
504fad94
Commit
504fad94
authored
3 years ago
by
Alexander Rudolph
Browse files
Options
Downloads
Patches
Plain Diff
change variables
parent
863aead3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+2
-5
2 additions, 5 deletions
.gitlab-ci.yml
server/.env.example
+5
-5
5 additions, 5 deletions
server/.env.example
server/src/config.ts
+5
-5
5 additions, 5 deletions
server/src/config.ts
with
12 additions
and
15 deletions
.gitlab-ci.yml
+
2
−
5
View file @
504fad94
...
...
@@ -4,16 +4,13 @@ services:
-
postgres:latest
variables
:
DB_NAME
:
$POSTGRES_DB
DB_USER
:
$POSTGRES_USER
DB_HOST
:
postgres
DB_DRIVER
:
postgres
DB_PASSWORD
:
$POSTGRES_PASSWORD
TEST_DB_NAME
:
test
POSTGRES_DB
:
$POSTGRES_DB
POSTGRES_HOST
:
postgres
POSTGRES_USER
:
$POSTGRES_USER
POSTGRES_PASSWORD
:
$POSTGRES_PASSWORD
POSTGRES_HOST_AUTH_METHOD
:
trust
POSTGRES_DRIVER
:
postgres
SKIP_PREFLIGHT_CHECK
:
"
true"
INITIAL_COORDINATOR_EMAIL
:
"
initial@fahrtenbuch.example"
INITIAL_COORDINATOR_PASSWORD
:
"
password"
...
...
This diff is collapsed.
Click to expand it.
server/.env.example
+
5
−
5
View file @
504fad94
NODE_ENV=development
DB_NAME
=fahrtenbuch
DB
_USER=postgres
DB
_HOST=localhost
DB
_DRIVER=postgres
DB
_PASSWORD=postgres
POSTGRES_DB
=fahrtenbuch
POSTGRES
_USER=postgres
POSTGRES
_HOST=localhost
POSTGRES
_DRIVER=postgres
POSTGRES
_PASSWORD=postgres
TEST_DB_NAME=test
EMAIL_SERVER=smtp.example.com
EMAIL_IS_TLS=false
...
...
This diff is collapsed.
Click to expand it.
server/src/config.ts
+
5
−
5
View file @
504fad94
import
{
Dialect
}
from
"
sequelize
"
;
const
envVars
=
{
DB_NAME
:
process
.
env
.
DB_NAME
,
DB_USER
:
process
.
env
.
DB
_USER
,
DB_HOST
:
process
.
env
.
DB
_HOST
,
DB_DRIVER
:
process
.
env
.
DB
_DRIVER
as
Dialect
,
DB_PASSWORD
:
process
.
env
.
DB
_PASSWORD
,
DB_NAME
:
process
.
env
.
POSTGRES_DB
,
DB_USER
:
process
.
env
.
POSTGRES
_USER
,
DB_HOST
:
process
.
env
.
POSTGRES
_HOST
,
DB_DRIVER
:
process
.
env
.
POSTGRES
_DRIVER
as
Dialect
,
DB_PASSWORD
:
process
.
env
.
POSTGRES
_PASSWORD
,
JWT_SECRET
:
process
.
env
.
JWT_SECRET
,
INITIAL_COORDINATOR_PASSWORD
:
process
.
env
.
INITIAL_COORDINATOR_PASSWORD
,
INITIAL_COORDINATOR_EMAIL
:
process
.
env
.
INITIAL_COORDINATOR_EMAIL
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment