This commit is contained in:
zhenorzz 2023-02-04 10:53:52 +08:00
parent 3bcce81212
commit e0f09ff0f1
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ var (
s string
)
const appVersion = "1.12.2"
const appVersion = "1.12.3"
func init() {
flag.StringVar(&config.AssetDir, "asset-dir", "", "default: ./")

View File

@ -1,7 +1,7 @@
# Import sql manually https://github.com/zhenorzz/goploy/blob/master/model/sql/goploy.sql
FROM alpine
LABEL maintainer="zhenorzz@gmail.com"
ARG GOPLOY_VER=v1.12.2
ARG GOPLOY_VER=v1.12.3
ENV GOPLOY_VER=${GOPLOY_VER}
ENV MYSQL_PORT=3306

View File

@ -377,7 +377,7 @@ CREATE TABLE IF NOT EXISTS `terminal_log` (
INSERT IGNORE INTO `user`(`id`, `account`, `password`, `name`, `contact`, `state`, `super_manager`) VALUES (1, 'admin', '$2a$10$89ZJ2xeJj35GOw11Qiucr.phaEZP4.kBX6aKTs7oWFp1xcGBBgijm', '超管', '', 1, 1);
INSERT IGNORE INTO `namespace`(`id`, `name`) VALUES (1, 'goploy');
INSERT IGNORE INTO `namespace_user`(`id`, `namespace_id`, `user_id`, `role_id`) VALUES (1, 1, 1, 0);
INSERT IGNORE INTO `system_config` (`id`, `key`, `value`) VALUES (1, 'version', '1.12.2');
INSERT IGNORE INTO `system_config` (`id`, `key`, `value`) VALUES (1, 'version', '1.12.3');
INSERT IGNORE INTO `role`(`id`, `name`, `description`) VALUES (1, 'manager', '');
INSERT IGNORE INTO `role`(`id`, `name`, `description`) VALUES (2, 'member', '');
INSERT IGNORE INTO `permission`(`id`, `pid`, `name`, `sort`, `description`) VALUES (1, 0, 'Log', 0, '');