Separate database connections from file-backed host information and document handoff
Verify databases and deploy Aster VM / verify-and-deploy (push) Successful in 7m25s
Verify databases and deploy Aster VM / verify-and-deploy (push) Successful in 7m25s
This commit is contained in:
+5
-7
@@ -1,10 +1,8 @@
|
||||
# Docker Compose reads .env automatically; cargo programs read exported env only.
|
||||
# Docker Compose reads .env; programs read exported host settings.
|
||||
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.
|
||||
# JSON host information, separate from databases:
|
||||
ASTER_STATE_DIR=data/host
|
||||
# PostgreSQL provisioning only: credentials are not consumed by the VM host.
|
||||
# Database-backed objects will receive an explicit DatabaseConfig.
|
||||
POSTGRES_PASSWORD=replace-with-a-random-hex-password
|
||||
|
||||
Reference in New Issue
Block a user