https and sms job add

This commit is contained in:
Devit
2026-03-28 23:15:36 +05:00
parent fb03d05de9
commit c02f5d5bf8
6 changed files with 266 additions and 1 deletions

View File

@@ -23,6 +23,42 @@ services:
condition: service_healthy
restart: unless-stopped
horizon:
build:
context: .
dockerfile: Dockerfile
args:
WWWGROUP: '${WWWGROUP:-1000}'
container_name: ${DOCKER_CONTAINER_NAME}_horizon
command: php artisan horizon
volumes:
- .:/var/www/html
networks:
- devituz
depends_on:
mysql:
condition: service_healthy
redis:
condition: service_healthy
restart: unless-stopped
scheduler:
build:
context: .
dockerfile: Dockerfile
container_name: ${DOCKER_CONTAINER_NAME}_scheduler
command: sh -c "while [ true ]; do php artisan schedule:run --verbose --no-interaction; sleep 60; done"
volumes:
- .:/var/www/html
depends_on:
mysql:
condition: service_healthy
redis:
condition: service_healthy
networks:
- devituz
restart: unless-stopped
nginx:
image: nginx:1.25-alpine
container_name: ${DOCKER_CONTAINER_NAME}_nginx