fix deployment workflow - manual bootstrap copy and restart

This commit is contained in:
Fimeg
2025-10-31 07:41:00 -04:00
parent 44bb05ca5d
commit e5d59eac02
3 changed files with 16 additions and 11 deletions

View File

@@ -9,7 +9,6 @@ services:
POSTGRES_INITDB_ARGS: "--encoding=UTF-8 --lc-collate=C --lc-ctype=C"
volumes:
- postgres-data:/var/lib/postgresql/data
- ./config/.env:/shared/.env
ports:
- "5432:5432"
healthcheck:
@@ -19,8 +18,7 @@ services:
retries: 5
restart: unless-stopped
env_file:
- ./config/.env.bootstrap.example
- ./config/.env
- ${ENV_FILE:-./config/.env}
server:
build:
@@ -30,7 +28,6 @@ services:
volumes:
- server-config:/app/config
- server-data:/app/data
- ./config/.env:/shared/.env
depends_on:
postgres:
condition: service_healthy
@@ -39,8 +36,7 @@ services:
command: ["./redflag-server"]
restart: unless-stopped
env_file:
- ./config/.env.bootstrap.example
- ./config/.env
- ${ENV_FILE:-./config/.env}
web:
build: