@@ -7,7 +7,7 @@ services:
7
7
NODE_VERSION : 22
8
8
PHP_VERSION : 8.4
9
9
image : laravelcm/php
10
- restart : unless-stopped
10
+ restart : always
11
11
extra_hosts :
12
12
- ' host.docker.internal:host-gateway'
13
13
healthcheck :
@@ -50,7 +50,7 @@ services:
50
50
CACHE_STORE : ${CACHE_STORE}
51
51
CACHE_PREFIX : ${CACHE_PREFIX}
52
52
MEMCACHED_HOST : ${MEMCACHED_HOST}
53
- REDIS_URL : ${REDIS_URL}
53
+ REDIS_CLIENT : ' phpredis '
54
54
REDIS_HOST : ${REDIS_HOST}
55
55
REDIS_PASSWORD : ${REDIS_PASSWORD}
56
56
REDIS_PORT : ${REDIS_PORT}
@@ -142,7 +142,7 @@ services:
142
142
- dokploy-network
143
143
schedule :
144
144
image : laravelcm/php
145
- restart : unless-stopped
145
+ restart : always
146
146
command : ['artisan', 'schedule:run']
147
147
stop_signal : SIGTERM
148
148
healthcheck :
@@ -185,7 +185,7 @@ services:
185
185
CACHE_STORE : ${CACHE_STORE}
186
186
CACHE_PREFIX : ${CACHE_PREFIX}
187
187
MEMCACHED_HOST : ${MEMCACHED_HOST}
188
- REDIS_URL : ${REDIS_URL}
188
+ REDIS_CLIENT : ' phpredis '
189
189
REDIS_HOST : ${REDIS_HOST}
190
190
REDIS_PASSWORD : ${REDIS_PASSWORD}
191
191
REDIS_PORT : ${REDIS_PORT}
@@ -279,7 +279,7 @@ services:
279
279
- laravelcm
280
280
queue :
281
281
image : laravelcm/php
282
- restart : unless-stopped
282
+ restart : always
283
283
command :
284
284
- ' artisan'
285
285
- ' queue:listen'
@@ -329,7 +329,7 @@ services:
329
329
CACHE_STORE : ${CACHE_STORE}
330
330
CACHE_PREFIX : ${CACHE_PREFIX}
331
331
MEMCACHED_HOST : ${MEMCACHED_HOST}
332
- REDIS_URL : ${REDIS_URL}
332
+ REDIS_CLIENT : ' phpredis '
333
333
REDIS_HOST : ${REDIS_HOST}
334
334
REDIS_PASSWORD : ${REDIS_PASSWORD}
335
335
REDIS_PORT : ${REDIS_PORT}
0 commit comments