fix: use Docker volume for server config instead of bind mount
- Change server-config from bind mount to named volume - Fixes permission denied errors when saving configuration - Config now persists properly across container restarts
This commit is contained in:
@@ -24,7 +24,7 @@ services:
|
||||
container_name: redflag-server
|
||||
volumes:
|
||||
- ./aggregator-agent/redflag-agent:/app/redflag-agent:ro
|
||||
- ./aggregator-server/config:/app/config
|
||||
- server-config:/app/config
|
||||
- server-data:/app/data
|
||||
depends_on:
|
||||
postgres:
|
||||
@@ -56,3 +56,4 @@ services:
|
||||
volumes:
|
||||
postgres-data:
|
||||
server-data:
|
||||
server-config:
|
||||
|
||||
Reference in New Issue
Block a user