-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (48 loc) · 1 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: '3'
services:
mysql:
image: mysql:8.0
container_name: mysql
restart: always
ports:
- 43306:3306
networks:
- default
environment:
MYSQL_ROOT_PASSWORD: test
redis:
image: redis:latest
container_name: bullmq-redis
ports:
- 46379:6379
networks:
- default
volumes:
- ./docker/redis/data:/data
- ./docker/redis/conf/redis.conf:/usr/local/conf/redis.conf
restart: always
command: redis-server /usr/local/conf/redis.conf
healthcheck:
test: ['CMD', 'redis-cli', 'ping']
interval: 1s
timeout: 3s
retries: 3
bullmq-dashboard:
image: deadly0/bull-board
container_name: bullmq-dashboard
restart: always
ports:
- 43000:3000
networks:
- default
environment:
REDIS_HOST: redis
REDIS_PORT: 6379
REDIS_USE_TLS: 'false'
BULL_PREFIX: bull
depends_on:
redis:
condition: service_healthy
networks:
default:
driver: bridge