mirror of
https://gitee.com/goploy/goploy.git
synced 2024-11-30 03:07:59 +08:00
A 1.12.3
This commit is contained in:
parent
3bcce81212
commit
e0f09ff0f1
@ -39,7 +39,7 @@ var (
|
|||||||
s string
|
s string
|
||||||
)
|
)
|
||||||
|
|
||||||
const appVersion = "1.12.2"
|
const appVersion = "1.12.3"
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
flag.StringVar(&config.AssetDir, "asset-dir", "", "default: ./")
|
flag.StringVar(&config.AssetDir, "asset-dir", "", "default: ./")
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Import sql manually https://github.com/zhenorzz/goploy/blob/master/model/sql/goploy.sql
|
# Import sql manually https://github.com/zhenorzz/goploy/blob/master/model/sql/goploy.sql
|
||||||
FROM alpine
|
FROM alpine
|
||||||
LABEL maintainer="zhenorzz@gmail.com"
|
LABEL maintainer="zhenorzz@gmail.com"
|
||||||
ARG GOPLOY_VER=v1.12.2
|
ARG GOPLOY_VER=v1.12.3
|
||||||
ENV GOPLOY_VER=${GOPLOY_VER}
|
ENV GOPLOY_VER=${GOPLOY_VER}
|
||||||
|
|
||||||
ENV MYSQL_PORT=3306
|
ENV MYSQL_PORT=3306
|
||||||
|
@ -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 `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`(`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 `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 (1, 'manager', '');
|
||||||
INSERT IGNORE INTO `role`(`id`, `name`, `description`) VALUES (2, 'member', '');
|
INSERT IGNORE INTO `role`(`id`, `name`, `description`) VALUES (2, 'member', '');
|
||||||
INSERT IGNORE INTO `permission`(`id`, `pid`, `name`, `sort`, `description`) VALUES (1, 0, 'Log', 0, '');
|
INSERT IGNORE INTO `permission`(`id`, `pid`, `name`, `sort`, `description`) VALUES (1, 0, 'Log', 0, '');
|
||||||
|
Loading…
Reference in New Issue
Block a user