fix(config): update app port to 8085 and fix mysql healthcheck

This commit is contained in:
Hamza-Ayed
2026-08-26 16:09:57 +03:00
parent 17ee3dd2f8
commit 8c9f31382b
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -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:
+1 -1
View File
@@ -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