-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
39 lines (38 loc) · 919 Bytes
/
Copy pathdocker-compose.yaml
File metadata and controls
39 lines (38 loc) · 919 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
35
36
37
38
39
services:
mysql:
container_name: mysql
image: mariadb
restart: always
environment:
MYSQL_DATABASE: 'DATABASE_NAME'
MYSQL_USER: 'DATABASE_USER'
MYSQL_PASSWORD: 'DATABASE_PASSWORD'
MYSQL_ROOT_PASSWORD: 'ROOT_PASSWORD'
volumes:
- ./database:/var/lib/mysql
redis:
container_name: redis
image: bitnami/redis
restart: always
environment:
REDIS_PASSWORD: 'REDIS_PASSWORD'
volumes:
- redis-data:/bitnami/redis/data
arkbot:
container_name: arkbot
build: ./
restart: unless-stopped
depends_on:
- mysql
- redis
volumes:
- ./assets:/root/assets
- ./template:/root/template
- ./arknights.yaml:/root/arknights.yaml
- ./logs:/root/logs
- playwright:/root/.cache/ms-playwright-go
- ms-playwright:/root/.cache/ms-playwright
volumes:
redis-data:
playwright:
ms-playwright: