Update docker-compose.yml
This commit is contained in:
+2
-1
@@ -42,7 +42,8 @@ services:
|
||||
- ./templates:/app/templates:ro
|
||||
- ./static:/app/static:ro
|
||||
ports:
|
||||
- "${PORT:-8080}:8080"
|
||||
# This is the crucial fix: both host and container ports are now dynamic
|
||||
- "${PORT:-8080}:${PORT:-8080}"
|
||||
networks:
|
||||
- blogging-network
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user