Skip to content

Commit edf8c2b

Browse files
authored
fix: docker container name (#409)
1 parent f492eaf commit edf8c2b

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

docker-compose.prod.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ services:
1111
extra_hosts:
1212
- 'host.docker.internal:host-gateway'
1313
healthcheck:
14-
test: [ 'CMD', 'curl', '-f', 'http://localhost:${APP_PORT:-8080}/up' ]
14+
test: ['CMD', 'curl', '-f', 'http://localhost:${APP_PORT:-8080}/up']
1515
timeout: 30s
1616
environment:
1717
APP_NAME: ${APP_NAME}
@@ -262,7 +262,7 @@ services:
262262
networks:
263263
- dokploy-network
264264
depends_on:
265-
- universy-app
265+
- laravelcm
266266
queue:
267267
image: laravelcm/php
268268
restart: unless-stopped
@@ -276,7 +276,7 @@ services:
276276
- '--queue=default,media'
277277
stop_signal: SIGTERM
278278
healthcheck:
279-
test: [ 'CMD', 'healthcheck-queue' ]
279+
test: ['CMD', 'healthcheck-queue']
280280
start_period: 10s
281281
environment:
282282
APP_NAME: ${APP_NAME}

docker-compose.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ services:
8989
- traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https
9090
schedule:
9191
image: laravelcm/php
92-
command: ['artisan', 'schedule:work']
92+
command: ['artisan', 'schedule:run']
9393
stop_signal: SIGTERM
9494
healthcheck:
9595
test: ['CMD', 'healthcheck-schedule']
@@ -105,9 +105,12 @@ services:
105105
queue:
106106
image: laravelcm/php
107107
command:
108-
- artisan
109-
- 'queue:work'
110-
- '--tries=3'
108+
- 'artisan'
109+
- 'queue:listen'
110+
- 'database'
111+
- '--sleep=10'
112+
- '--quiet'
113+
- '--force'
111114
- '--queue=default,media'
112115
stop_signal: SIGTERM
113116
healthcheck:

0 commit comments

Comments
 (0)