mirror of
https://github.com/JetSprow/J-Board-Lite.git
synced 2026-05-01 01:14:10 +05:30
docs: add guided panel deployment
This commit is contained in:
@@ -5,7 +5,7 @@ services:
|
||||
target: runner
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "${APP_PORT:-3000}:3000"
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
@@ -13,7 +13,7 @@ services:
|
||||
condition: service_healthy
|
||||
env_file: .env
|
||||
environment:
|
||||
- DATABASE_URL=postgresql://jboard:jboard123@db:5432/jboard
|
||||
- DATABASE_URL=postgresql://jboard:${POSTGRES_PASSWORD:-jboard123}@db:5432/jboard
|
||||
- REDIS_URL=redis://redis:6379
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:3000/api/public/app-info || exit 1"]
|
||||
@@ -33,7 +33,7 @@ services:
|
||||
condition: service_healthy
|
||||
env_file: .env
|
||||
environment:
|
||||
- DATABASE_URL=postgresql://jboard:jboard123@db:5432/jboard
|
||||
- DATABASE_URL=postgresql://jboard:${POSTGRES_PASSWORD:-jboard123}@db:5432/jboard
|
||||
profiles:
|
||||
- setup
|
||||
|
||||
@@ -45,7 +45,7 @@ services:
|
||||
environment:
|
||||
POSTGRES_DB: jboard
|
||||
POSTGRES_USER: jboard
|
||||
POSTGRES_PASSWORD: jboard123
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-jboard123}
|
||||
# 仅暴露给内部网络,生产环境不要对外开放
|
||||
# ports:
|
||||
# - "5432:5432"
|
||||
|
||||
Reference in New Issue
Block a user