-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv-template
More file actions
20 lines (18 loc) · 875 Bytes
/
Copy pathenv-template
File metadata and controls
20 lines (18 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# First and foremost, if you're just cloning this to try it out or learn or
# explore, you do not need to change anything in this file. Just follow the
# directions in ./HACKING.md.
# ============================================================================
# Note: when running `make debug-container`, change the hostname in the
# database connection string from localhost:5432 to `host.docker.internal`
# on macOS. On linux, passing the `--net=host` flag to Docker when we call
# `docker run` inside the Makefile should allow this same database connection
# host to work.
DATABASE_URL=postgres://you:somepassword@localhost:5432/nc
SESSION_SECRET=superdupersecret
# Note: these guys are only used to initialize the PostgreSQL database
# container with Docker
POSTGRES_USER=you
POSTGRES_USERNAME=you
POSTGRES_HOST=localhost
POSTGRES_PASSWORD=somepassword
POSTGRES_DB=nc