Skip to content

Commit 31ebf34

Browse files
committed
Add depends_on to prod bot
1 parent 378df7d commit 31ebf34

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docker-compose.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@ version: "3.8"
22
volumes:
33
clickhouse-persistence:
44
services:
5+
redis:
6+
image: redis:alpine
57
bot:
68
build: .
79
restart: on-failure
10+
depends_on:
11+
- redis
812
stop_grace_period: 20s
913
extra_hosts:
1014
- host.docker.internal:host-gateway
@@ -29,8 +33,6 @@ services:
2933
- CLICKHOUSE_PASSWORD
3034
- CLICKHOUSE_DATABASE
3135
- REDIS_URL=redis://redis:6379/
32-
redis:
33-
image: redis:alpine
3436
web:
3537
build: web
3638
depends_on:

0 commit comments

Comments
 (0)