feat: drone.ci

This commit is contained in:
mozzie 2023-03-20 14:13:12 +08:00
parent cb37303e82
commit 0566389f87

View File

@ -21,6 +21,8 @@ services:
container_name: backset-mysql container_name: backset-mysql
ports: ports:
- 46033:3306 - 46033:3306
expose:
- 46033
environment: environment:
- "MYSQL_DATABASE=backset" - "MYSQL_DATABASE=backset"
- "MYSQL_USER=backset" - "MYSQL_USER=backset"
@ -42,7 +44,9 @@ services:
container_name: backset-redis container_name: backset-redis
restart: always restart: always
ports: ports:
- 26379:26379 - 26379:6379
expose:
- 26379
volumes: volumes:
- /www/wwwroot/redis/conf:/etc/redis/redis.conf - /www/wwwroot/redis/conf:/etc/redis/redis.conf
- /www/wwwroot/redis/data:/data - /www/wwwroot/redis/data:/data