fix(deploy): avoid host port bind conflicts in compose
This commit is contained in:
@@ -7,8 +7,8 @@ services:
|
||||
depends_on:
|
||||
mysql:
|
||||
condition: service_healthy
|
||||
ports:
|
||||
- "${APP_PORT:-8000}:80"
|
||||
expose:
|
||||
- "80"
|
||||
environment:
|
||||
APP_NAME: ${APP_NAME:-Dewemoji}
|
||||
APP_ENV: ${APP_ENV:-production}
|
||||
@@ -50,8 +50,8 @@ services:
|
||||
MYSQL_USER: ${DB_USERNAME:-dewemoji}
|
||||
MYSQL_PASSWORD: ${DB_PASSWORD:-changeme}
|
||||
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD:-rootchangeme}
|
||||
ports:
|
||||
- "${MYSQL_PORT:-3306}:3306"
|
||||
expose:
|
||||
- "3306"
|
||||
volumes:
|
||||
- mysql_data:/var/lib/mysql
|
||||
healthcheck:
|
||||
|
||||
Reference in New Issue
Block a user