-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
54 lines (51 loc) · 1.19 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
53
54
version: "3.3"
services:
mariadb:
image: mariadb:10.5.8
container_name: cismariadb
hostname: cismariadb
command: --default-authentication-plugin=mysql_native_password
restart: always
env_file:
- ./.env
volumes:
- ./data/mariadb:/var/lib/mysql
- ./init:/docker-entrypoint-initdb.d
ports:
- 3306:3306
# networks:
# - cisgraderoom
redis:
image: redis:6.2.5-alpine
restart: always
container_name: cisredis
hostname: cisredis
ports:
- "6379:6379"
env_file:
- ./.env
command: redis-server /redis.conf --requirepass cisgraderoom
volumes:
- ./data/redis:/data
- ./config/redis.conf:/redis.conf
# networks:
# - cisgraderoom
rabbitmq:
image: rabbitmq:3-management-alpine
restart: always
container_name: cisrabbitmq
hostname: cisrabbitmq
env_file:
- ./.env
ports:
- "5672:5672"
- "15672:15672"
volumes:
- ./data/rabbitmq/data:/var/lib/rabbitmq
- ./data/rabbitmq/log:/var/log/rabbitmq
# networks:
# - cisgraderoom
# networks:
# cisgraderoom:
# external: true
# docker network create -d bridge cisgraderoom