mirror of
https://github.com/R0m1k3/PleinR.git
synced 2026-10-23 15:18:04 +02:00
Change le mapping des ports hôte vers des ports peu courants
- App : 8413 (hôte) → 3000 (conteneur) - Postgres : 54329 (hôte) → 5432 (conteneur) AUTH_URL, .env.example et README mis à jour en conséquence. Les ports internes des conteneurs (3000, 5432) et DATABASE_URL (réseau interne) restent inchangés. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XwfhYHzC9hQWPDnQ2p53GL
This commit is contained in:
3 files changed
+19
-9
No files matched your search
+5
-3
@@ -16,7 +16,8 @@ services:
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
ports:
|
||||
- "5432:5432"
|
||||
# Host port rarely used (container stays on 5432). Change the left side if needed.
|
||||
- "54329:5432"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-pleinr} -d ${POSTGRES_DB:-pleinr}"]
|
||||
interval: 5s
|
||||
@@ -33,13 +34,14 @@ services:
|
||||
environment:
|
||||
DATABASE_URL: postgres://${POSTGRES_USER:-pleinr}:${POSTGRES_PASSWORD:-pleinr}@postgres:5432/${POSTGRES_DB:-pleinr}
|
||||
AUTH_SECRET: ${AUTH_SECRET:?set AUTH_SECRET in your .env}
|
||||
AUTH_URL: ${AUTH_URL:-http://localhost:3000}
|
||||
AUTH_URL: ${AUTH_URL:-http://localhost:8413}
|
||||
SEED_ON_START: ${SEED_ON_START:-true}
|
||||
SEED_ADMIN_EMAIL: ${SEED_ADMIN_EMAIL:-admin@plein-r.fr}
|
||||
SEED_ADMIN_PASSWORD: ${SEED_ADMIN_PASSWORD:-changeme123}
|
||||
SEED_ADMIN_NAME: ${SEED_ADMIN_NAME:-Administrateur Plein R}
|
||||
ports:
|
||||
- "3000:3000"
|
||||
# Host port rarely used (container stays on 3000). App reachable at http://HOST:8413
|
||||
- "8413:3000"
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
Reference in new issue
Block a user