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:
parent
1551fba9ab
commit
069bcfb58a
3 changed files with 144 additions and 11 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue