Add Docker-compose.yml
This commit is contained in:
parent
ec367a0af9
commit
a94634d697
21
docker-compose.yml
Normal file
21
docker-compose.yml
Normal file
@ -0,0 +1,21 @@
|
||||
version: "3"
|
||||
services:
|
||||
mysql:
|
||||
image: mariadb:10.4.12
|
||||
ports:
|
||||
- 3306:3306
|
||||
command: --character-set-server=utf8mb4
|
||||
volumes:
|
||||
- ./mysql/data:/var/lib/mysql
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: root
|
||||
MYSQL_DATABASE: e5sub
|
||||
restart: always
|
||||
container_name: mysql
|
||||
e5bot:
|
||||
image: iyear/e5subbot
|
||||
volumes:
|
||||
- ./e5bot/config.yml:/root/config.yml
|
||||
- ./e5bot/log:/root/log
|
||||
restart: always
|
||||
container_name: e5bot
|
||||
Loading…
Reference in New Issue
Block a user