mirror of
https://github.com/kevinveenbirkenbach/homepage.veen.world.git
synced 2026-02-22 18:52:41 +00:00
Added port via env
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
portfolio:
|
||||
build:
|
||||
@@ -6,7 +8,9 @@ services:
|
||||
image: application-portfolio
|
||||
container_name: portfolio
|
||||
ports:
|
||||
- "5000:5000"
|
||||
- "${PORT:-5000}:5000"
|
||||
volumes:
|
||||
- ./app:/app
|
||||
environment:
|
||||
- PORT=${PORT:-5000}
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user