feat: drone.ci

This commit is contained in:
mozzie 2023-03-20 10:47:53 +08:00
parent b22a3b88b9
commit d1eb76d957
2 changed files with 2 additions and 4 deletions

View File

@ -22,8 +22,6 @@ COPY --from=build /app/src ./src
COPY --from=build /app/bootstrap.js ./ COPY --from=build /app/bootstrap.js ./
COPY --from=build /app/package.json ./ COPY --from=build /app/package.json ./
# RUN apk add --no-cache tzdata
ENV TZ="Asia/Shanghai" ENV TZ="Asia/Shanghai"
RUN npm set registry https://registry.npm.taobao.org RUN npm set registry https://registry.npm.taobao.org

View File

@ -10,7 +10,7 @@ export default (appInfo: MidwayAppInfo): MidwayConfig => {
*/ */
type: 'mysql', type: 'mysql',
host: 'mysql', host: 'mysql',
port: 3307, port: 43306,
username: 'backset', username: 'backset',
password: 'backset', password: 'backset',
database: 'backset', database: 'backset',
@ -26,7 +26,7 @@ export default (appInfo: MidwayAppInfo): MidwayConfig => {
redis: { redis: {
client: { client: {
host: 'redis', // Redis host host: 'redis', // Redis host
port: 26379, // Redis port port: 46379, // Redis port
password: 'cr654654.', password: 'cr654654.',
db: 0, db: 0,
}, },