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
|
container_name: saqel_nginx
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "${APP_PORT:-8080}:80"
|
- "${APP_PORT:-8085}:80"
|
||||||
volumes:
|
volumes:
|
||||||
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
|
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -36,10 +36,11 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- mysql_data:/var/lib/mysql
|
- mysql_data:/var/lib/mysql
|
||||||
healthcheck:
|
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
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 10
|
retries: 10
|
||||||
|
start_period: 30s
|
||||||
|
|
||||||
queue:
|
queue:
|
||||||
build:
|
build:
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ APP_NAME=Saqel
|
|||||||
APP_ENV=production
|
APP_ENV=production
|
||||||
APP_DEBUG=false
|
APP_DEBUG=false
|
||||||
APP_URL=https://saqel.intaleqapp.com
|
APP_URL=https://saqel.intaleqapp.com
|
||||||
APP_PORT=8080
|
APP_PORT=8085
|
||||||
|
|
||||||
# Database Configuration (MySQL 8)
|
# Database Configuration (MySQL 8)
|
||||||
DB_CONNECTION=mysql
|
DB_CONNECTION=mysql
|
||||||
|
|||||||
Reference in New Issue
Block a user