Fix duplicate volumes in docker-compose
This commit is contained in:
@@ -26,6 +26,8 @@ services:
|
|||||||
container_name: redflag-server
|
container_name: redflag-server
|
||||||
volumes:
|
volumes:
|
||||||
- ./aggregator-agent/redflag-agent:/app/redflag-agent:ro
|
- ./aggregator-agent/redflag-agent:/app/redflag-agent:ro
|
||||||
|
- ./aggregator-server/.env:/app/.env
|
||||||
|
- server-data:/app/data
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
postgres:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@@ -39,9 +41,6 @@ services:
|
|||||||
- REDFLAG_DB_PASSWORD=redflag
|
- REDFLAG_DB_PASSWORD=redflag
|
||||||
- REDFLAG_SERVER_HOST=0.0.0.0
|
- REDFLAG_SERVER_HOST=0.0.0.0
|
||||||
- REDFLAG_SERVER_PORT=8080
|
- REDFLAG_SERVER_PORT=8080
|
||||||
volumes:
|
|
||||||
- ./aggregator-server/.env:/app/.env
|
|
||||||
- server-data:/app/data
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user