feat(setup): one guided flow; ask for PostgreSQL and generate the bundled database's password
This commit is contained in:
7 files changed
+91
-271
No files matched your search
+4
-2
@@ -25,13 +25,15 @@ services:
|
||||
image: postgres:18
|
||||
environment:
|
||||
POSTGRES_USER: archie
|
||||
POSTGRES_PASSWORD: archie
|
||||
# archied setup generates this into ~/.config/archie/env; the fallback is
|
||||
# the dev password deployments/dev.toml uses.
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-archie}
|
||||
POSTGRES_DB: archie
|
||||
# postgres:18 moved its default PGDATA under a versioned path; pin the
|
||||
# classic location so the named volume keeps working across image updates.
|
||||
PGDATA: /var/lib/postgresql/data/pgdata
|
||||
ports:
|
||||
- "5432:5432"
|
||||
- "127.0.0.1:5432:5432"
|
||||
volumes:
|
||||
- pg_data:/var/lib/postgresql/data
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in new issue
Block a user