feat: drone.ci

This commit is contained in:
mozzie 2023-03-20 15:12:30 +08:00
parent 4841c20053
commit 1415d5e3b5

View File

@ -14,12 +14,11 @@ services:
MYSQL_USER: backset MYSQL_USER: backset
MYSQL_PASSWORD: backset MYSQL_PASSWORD: backset
MYSQL_ROOT_PASSWORD: root MYSQL_ROOT_PASSWORD: root
MYSQL_ROOT_HOST: '%'
MYSQL_TCP_PORT: 3307 MYSQL_TCP_PORT: 3307
volumes: volumes:
- /www/wwwroot/mysql/conf/my.cnf:/etc/mysql/conf.d/mysqld.cnf - /www/wwwroot/backset/mysql/conf/my.cnf:/etc/mysql/conf.d/mysqld.cnf
- /www/wwwroot/mysql/data:/var/lib/mysql - /www/wwwroot/backset/mysql/data:/var/lib/mysql
- /www/wwwroot/mysql/logs:/var/log/mysql - /www/wwwroot/backset/mysql/logs:/var/log/mysql
redis: redis:
image: redis image: redis
@ -30,8 +29,8 @@ services:
expose: expose:
- 26379 - 26379
volumes: volumes:
- /www/wwwroot/redis/conf:/etc/redis/redis.conf - /www/wwwroot/backset/redis/conf:/etc/redis/redis.conf
- /www/wwwroot/redis/data:/data - /www/wwwroot/backset/redis/data:/data
command: redis-server --requirepass "cr654654." --port 26379 command: redis-server --requirepass "cr654654." --port 26379
web: web: