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 — first lines.env
# 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=true

File details

Size
303 B (303 bytes)
MIME type
text/plain
SHA-256
a851c216d556f9adb28ab94ca836943fc168d3555477037776572c365905bc21
MD5
d56563f218e5919a75778b17dc8f7d20

Download from the command line

curl -L -o sample.env https://files.samplefiles.com/data/env/sample.env

Or check the download in your browser with the checksum calculator.