add migration feature default for docker all in one environment

pull/455/head
Michael Li 11 months ago
parent 6e32e18f82
commit 9a2ccc4b20
No known key found for this signature in database

@ -23,8 +23,8 @@ WORKDIR /paopao-ce
COPY . . COPY . .
COPY --from=frontend /web/dist ./web/dist COPY --from=frontend /web/dist ./web/dist
ENV GOPROXY=https://goproxy.cn ENV GOPROXY=https://goproxy.cn
RUN [ $EMBED_UI != yes ] || make build TAGS='go_json' RUN [ $EMBED_UI != yes ] || make build TAGS='go_json migration'
RUN [ $EMBED_UI = yes ] || make build TAGS='slim embed go_json' RUN [ $EMBED_UI = yes ] || make build TAGS='slim embed go_json migration'
FROM bitbus/paopao-ce-allinone-runner:latest FROM bitbus/paopao-ce-allinone-runner:latest
ARG API_HOST ARG API_HOST

@ -6,7 +6,7 @@ App: # APP基础设置项
DefaultPageSize: 10 DefaultPageSize: 10
MaxPageSize: 100 MaxPageSize: 100
Features: Features:
Default: ["Web", "Frontend:EmbedWeb", "Meili", "LocalOSS", "Sqlite3", "LoggerFile"] Default: ["Web", "Frontend:EmbedWeb", "Meili", "LocalOSS", "Sqlite3", "LoggerFile", "Migration"]
Sms: "SmsJuhe" Sms: "SmsJuhe"
WebServer: # Web服务 WebServer: # Web服务
HttpIp: 0.0.0.0 HttpIp: 0.0.0.0
Loading…
Cancel
Save