Expose port 8080 directly in docker-compose.yml
This commit is contained in:
+2
-2
@@ -2,8 +2,8 @@ services:
|
||||
app:
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
expose:
|
||||
- "80"
|
||||
ports:
|
||||
- "${APP_PORT:-8080}:80"
|
||||
environment:
|
||||
DB_HOST: ${DB_HOST:-db}
|
||||
DB_USER: ${DB_USER:-root}
|
||||
|
||||
Reference in New Issue
Block a user