feat: интерактивный установщик install.sh (Docker / Ubuntu, админ, БД)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+2
-1
@@ -23,6 +23,8 @@ services:
|
||||
build: .
|
||||
container_name: shop-app
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
@@ -31,7 +33,6 @@ services:
|
||||
HOST: 0.0.0.0
|
||||
PORT: 3000
|
||||
TRUST_PROXY: ${TRUST_PROXY:-0}
|
||||
SESSION_SECRET: ${SESSION_SECRET:-change-me-in-docker-compose-env}
|
||||
DATABASE_URL: postgresql://${POSTGRES_USER:-shop}:${POSTGRES_PASSWORD:-shop}@postgres:5432/${POSTGRES_DB:-shop}
|
||||
ports:
|
||||
- '${APP_PORT:-3000}:3000'
|
||||
|
||||
Reference in New Issue
Block a user