-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (32 loc) · 832 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (32 loc) · 832 Bytes
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
version: '2.4'
services:
raidquaza:
image: breedocker/raidquaza
environment:
- "BOT_TOKEN=token"
- "BOT_PREFIX=!"
- "POLL_DB_HOST=poll-db"
- "POLL_DB_PORT=3306"
- "POLL_DB_NAME=polldb"
- "POLL_DB_USER=pollman"
- "POLL_DB_PASSWORD=bestpw"
- "POLL_DB_DIALECT=mysql"
- "POLL_DB_DRIVER=mysqlconnector"
restart: always
depends_on:
- poll-db
networks:
- default
poll-db:
image: mariadb
environment:
- "MYSQL_ROOT_PASSWORD: root1234"
- "MYSQL_DATABASE: polldb"
- "MYSQL_USER: pollman"
- "MYSQL_PASSWORD: bestpw"
command: ['mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']
volumes:
- ./volumes/mysql/db:/var/lib/mysql
restart: always
networks:
- default