2023-02-13 17:20:10 +00:00
|
|
|
version: "3.1"
|
2023-02-11 05:17:02 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
redis:
|
2023-02-13 17:20:10 +00:00
|
|
|
image: docker.io/redis:7-alpine
|
2023-02-11 05:17:02 +00:00
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- ./redis_data:/data
|
|
|
|
logging:
|
|
|
|
driver: none
|
|
|
|
|
|
|
|
mysql:
|
2023-02-13 17:20:10 +00:00
|
|
|
image: docker.io/ubuntu/mysql:8.0-22.04_beta
|
2023-02-11 05:17:02 +00:00
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- ./db_data:/var/lib/mysql
|
|
|
|
environment:
|
|
|
|
- MYSQL_ROOT_PASSWORD=root
|
|
|
|
- MYSQL_USER=root
|
|
|
|
- MYSQL_DATABASE=paimon
|
|
|
|
logging:
|
|
|
|
driver: none
|
|
|
|
|
|
|
|
paimon:
|
2023-02-13 17:20:10 +00:00
|
|
|
image: docker.io/rtpaimon/tgpaimonbot:v3
|
2023-02-11 05:17:02 +00:00
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
- WAIT_HOSTS=mysql:3306, redis:6379
|
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
- mysql
|
|
|
|
volumes:
|
|
|
|
- ./.env:/app/.env
|
|
|
|
- ./cache:/app/cache
|
|
|
|
- ./data:/app/data
|
|
|
|
- ./logs:/app/logs
|
|
|
|
- ./report:/app/report
|