-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
24 lines (21 loc) · 747 Bytes
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# ===============
# General
LOCALHOST=0.0.0.0
# ===============
# Server env vars
SERVER_PORT=8080
SERVER_HOST=${LOCALHOST}:${SERVER_PORT}
# ================
# DB env vars
POSTGRES_HOST=localhost
DB_PORT=5432
POSTGRES_USER=username
POSTGRES_PASSWORD=password
POSTGRES_DB=driversdb
DATABASE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}/${POSTGRES_DB}
DATABASE_URL_INTERNAL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db/${POSTGRES_DB}
# Test DB env vars
DB_PORT_TEST=5433
POSTGRES_DB_TEST=test_db
DATABASE_URL_TEST=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${DB_PORT_TEST}/${POSTGRES_DB_TEST}
DATABASE_URL_TEST_INTERNAL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@test_db/${POSTGRES_DB}