Skip to content

Commit 15495a2

Browse files
committed
feat: add redis and horizon to docker compose file
1 parent a694803 commit 15495a2

1 file changed

Lines changed: 20 additions & 20 deletions

File tree

docker-compose.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -29,26 +29,26 @@ services:
2929
mediaServer-db:
3030
aliases:
3131
- ${APP_HOST:-app.test}
32-
redis:
33-
image: redis:8-alpine
34-
container_name: redis
35-
command: "redis-server --appendonly yes --requirepass phpredis"
36-
horizon:
37-
<<: *app
38-
container_name: horizon
39-
command: ["php", "/var/www/html/artisan", "horizon"]
40-
stop_signal: SIGTERM
41-
depends_on:
42-
- app
43-
- redis
44-
ports: []
45-
expose: []
46-
healthcheck:
47-
test: ["CMD", "healthcheck-horizon"]
48-
start_period: 10s
49-
networks:
50-
mediaServer-db:
51-
default:
32+
redis:
33+
image: redis:8-alpine
34+
container_name: redis
35+
command: "redis-server --appendonly yes --requirepass phpredis"
36+
horizon:
37+
<<: *app
38+
container_name: horizon
39+
command: ["php", "/var/www/html/artisan", "horizon"]
40+
stop_signal: SIGTERM
41+
depends_on:
42+
- app
43+
- redis
44+
ports: []
45+
expose: []
46+
healthcheck:
47+
test: ["CMD", "healthcheck-horizon"]
48+
start_period: 10s
49+
networks:
50+
mediaServer-db:
51+
default:
5252
queue:
5353
<<: *app
5454
container_name: job_queue

0 commit comments

Comments
 (0)