https and sms job add
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user