feat: drone.ci

This commit is contained in:
mozzie 2023-03-20 13:59:28 +08:00
parent 8e7d237651
commit adff9e179c

View File

@ -9,7 +9,7 @@ services:
restart: always restart: always
container_name: backset-server container_name: backset-server
ports: ports:
- "7001:7001" - 7001:7001
networks: networks:
backset-net: backset-net:
aliases: aliases:
@ -20,11 +20,11 @@ services:
restart: always restart: always
container_name: backset-mysql container_name: backset-mysql
ports: ports:
- "46033:3306" - 46033:3306
environment: environment:
- MYSQL_DATABASE: "backset" - MYSQL_DATABASE: backset
- MYSQL_USER: "backset" - MYSQL_USER: backset
- MYSQL_PASSWORD: "backset" - MYSQL_PASSWORD: backset
volumes: volumes:
- /www/wwwroot/mysql/conf/my.cnf:/etc/mysql/conf.d/mysqld.cnf - /www/wwwroot/mysql/conf/my.cnf:/etc/mysql/conf.d/mysqld.cnf
- /www/wwwroot/mysql/data:/var/lib/mysql - /www/wwwroot/mysql/data:/var/lib/mysql
@ -39,7 +39,7 @@ services:
container_name: backset-redis container_name: backset-redis
restart: always restart: always
ports: ports:
- "26379:26379" - 26379: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