Refactor network_mode configuration for services in compose.yaml
This commit is contained in:
@@ -9,7 +9,7 @@ services:
|
||||
- "${FRONTEND_PORT:-8015}:3000"
|
||||
depends_on:
|
||||
- server
|
||||
|
||||
network_mode: host
|
||||
db:
|
||||
image: postgis/postgis:16-3.5
|
||||
container_name: adventurelog-db
|
||||
@@ -17,7 +17,7 @@ services:
|
||||
env_file: .env
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data/
|
||||
|
||||
network_mode: host
|
||||
server:
|
||||
#build: ./backend/
|
||||
image: ghcr.io/seanmorley15/adventurelog-backend:latest
|
||||
@@ -30,9 +30,8 @@ services:
|
||||
- db
|
||||
volumes:
|
||||
- adventurelog_media:/code/media/
|
||||
|
||||
network_mode: host
|
||||
volumes:
|
||||
postgres_data:
|
||||
adventurelog_media:
|
||||
|
||||
network_mode: host
|
||||
Reference in New Issue
Block a user