Data · 1 file
Sample .env File
Dotenv files set environment variables for local development, as read by dotenv, Docker Compose and most frameworks.
.env · 303 B
.env file
A dotenv file with comments, quoted and unquoted values, an empty value, an escaped newline and an export prefix. All values are fake.
CC0 · free for any use · Verified by an independent tool · Report a problem
# Sample .env file — the values are fake
NODE_ENV=production
PORT=8080
DATABASE_URL=postgres://sample:sample@localhost:5432/sample
API_BASE_URL="https://api.example.com/v1"
FEATURE_FLAGS=signup,beta_dashboard
GREETING='Hello, world'
MULTILINE="line one\nline two"
EMPTY_VALUE=
export SHELL_STYLE=trueFile details
Download from the command line
curl -L -o sample.env https://files.samplefiles.com/data/env/sample.envwget https://files.samplefiles.com/data/env/sample.envhttps://files.samplefiles.com/data/env/sample.envprintf '%s %s\n' a851c216d556f9adb28ab94ca836943fc168d3555477037776572c365905bc21 sample.env | shasum -a 256 -cOr check the download in your browser with the checksum calculator.