1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-03 04:05:18 +02:00

Enhance dynamic port handling in installer and configuration files; update .env.example and docker-compose.yml to use environment variables for frontend and backend ports.

This commit is contained in:
Sean Morley 2025-05-27 22:42:08 -04:00
parent 1551fba9ab
commit 069bcfb58a
3 changed files with 144 additions and 11 deletions

View file

@ -5,7 +5,7 @@ services:
restart: unless-stopped
env_file: .env
ports:
- "8015:3000"
- "${FRONTEND_PORT:-8015}:3000"
depends_on:
- server
@ -23,7 +23,7 @@ services:
restart: unless-stopped
env_file: .env
ports:
- "8016:80"
- "${BACKEND_PORT:-8016}:80"
depends_on:
- db
volumes: