fix : resolve Docker port conflicts and fix var/ permissions on install

Port PG 5436→5437, port frontend 3003→3005 to avoid conflicts with Coltura.
Add fix-permissions target in Makefile to create var/cache and var/log as root before composer install.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Matthieu
2026-04-08 11:27:37 +02:00
parent ca3445103d
commit 123d9b306f
4 changed files with 10 additions and 6 deletions

View File

@@ -32,7 +32,7 @@ services:
depends_on:
- db
ports:
- "3003:3003"
- "3005:3003"
restart: unless-stopped
nginx:
image: nginx:1.27-alpine
@@ -47,7 +47,7 @@ services:
restart: unless-stopped
db:
image: postgres:16-alpine
command: -p ${POSTGRES_PORT:-5436}
command: -p ${POSTGRES_PORT:-5437}
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
@@ -55,7 +55,7 @@ services:
volumes:
- pg_data:/var/lib/postgresql/data
ports:
- "${POSTGRES_PORT:-5436}:${POSTGRES_PORT:-5436}"
- "${POSTGRES_PORT:-5437}:${POSTGRES_PORT:-5437}"
restart: unless-stopped
volumes:
pg_data: