fix(config): update app port to 8085 and fix mysql healthcheck
This commit is contained in:
+3
-2
@@ -18,7 +18,7 @@ services:
|
||||
container_name: saqel_nginx
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${APP_PORT:-8080}:80"
|
||||
- "${APP_PORT:-8085}:80"
|
||||
volumes:
|
||||
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
depends_on:
|
||||
@@ -36,10 +36,11 @@ services:
|
||||
volumes:
|
||||
- mysql_data:/var/lib/mysql
|
||||
healthcheck:
|
||||
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-p${DB_PASSWORD:-secret}"]
|
||||
test: ["CMD-SHELL", "mysqladmin ping -h 127.0.0.1 -uroot -p$${MYSQL_ROOT_PASSWORD} || exit 1"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
start_period: 30s
|
||||
|
||||
queue:
|
||||
build:
|
||||
|
||||
@@ -7,7 +7,7 @@ APP_NAME=Saqel
|
||||
APP_ENV=production
|
||||
APP_DEBUG=false
|
||||
APP_URL=https://saqel.intaleqapp.com
|
||||
APP_PORT=8080
|
||||
APP_PORT=8085
|
||||
|
||||
# Database Configuration (MySQL 8)
|
||||
DB_CONNECTION=mysql
|
||||
|
||||
Reference in New Issue
Block a user