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