Refactor network_mode configuration for services in compose.yaml

This commit is contained in:
Nikholas Pcenicni
2026-09-16 19:38:21 -04:00
parent b6e2fb0b0a
commit 77b1ce94a4

View File

@@ -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