11 lines
564 B
Bash
11 lines
564 B
Bash
# Docker Compose reads .env automatically; cargo programs read exported env only.
|
|
ASTER_PORT=8080
|
|
# Local host settings (export explicitly when running cargo):
|
|
ASTER_LISTEN=127.0.0.1:8080
|
|
SQLITE_PATH=data/aster.db
|
|
# Unset DATABASE_URL to use SQLite. Do not set it to an empty string.
|
|
# DATABASE_URL=postgres://aster:password@127.0.0.1:5432/aster
|
|
# PostgreSQL Compose only: replace with a random hex string, e.g. openssl rand -hex 24.
|
|
# Hex avoids URL-encoding ambiguity when used in the Compose connection URL.
|
|
POSTGRES_PASSWORD=replace-with-a-random-hex-password
|