feat: drone.ci
This commit is contained in:
parent
b22a3b88b9
commit
d1eb76d957
|
@ -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
|
||||||
|
|
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user