mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-12-26 03:25:59 +00:00
26 lines
434 B
YAML
26 lines
434 B
YAML
version: '3.1'
|
|
|
|
services:
|
|
redis:
|
|
image: redis:7-alpine
|
|
restart: always
|
|
volumes:
|
|
- ./data/redis_data:/data
|
|
ports:
|
|
- "6379:6379"
|
|
logging:
|
|
driver: none
|
|
|
|
mysql:
|
|
image: mysql:8.0
|
|
restart: always
|
|
volumes:
|
|
- ./data/db_data:/var/lib/mysql
|
|
ports:
|
|
- "3306:3306"
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=root
|
|
- MYSQL_DATABASE=paimon
|
|
logging:
|
|
driver: none
|