-
-
Notifications
You must be signed in to change notification settings - Fork 129
/
docker-compose.yml
60 lines (60 loc) · 1.32 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
55
56
57
58
59
60
version: '3'
services:
db:
image: mysql:5.7
container_name : otterbot-db
restart: always
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: FFXIV_DEV
volumes:
- ./docker/mysql-data:/var/lib/mysql
command: ['mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']
networks:
- otterbot_network
web:
container_name : otterbot-web
image: 'bluefissure/otterbot:latest'
build: .
depends_on:
- db
- redis
- rabbit
environment:
IS_DOCKER: Docker
FFXIVBOT_ROOT: /FFXIVBOT/
TULING_API_KEY: 123
BOT_FATHER: 爸爸
BOT_MOTHER: 妈妈
USER_NICKNAME: 光呆呆
networks:
- otterbot_network
ports:
- 8000:8002
restart: always
command: bash docker-entrypoint.sh
links:
- db
- redis
- rabbit
redis:
container_name : otterbot-redis
image: "redis:alpine"
networks:
- otterbot_network
rabbit:
image: rabbitmq:management
hostname: rabbit
container_name : otterbot-rbq
ports:
- 4369:4369
- 5671:5671
- 5672:5672
- 15671:15671
- 15672:15672
networks:
- otterbot_network
networks:
otterbot_network:
volumes:
mysql-data: