fix deployment workflow - manual bootstrap copy and restart
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user