add pub in Dockerfile
This commit is contained in:
parent
df97166f07
commit
acd2e9398b
|
@ -2,6 +2,7 @@ FROM ubuntu:21.04
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ADD n9e /app
|
ADD n9e /app
|
||||||
|
ADD pub /app/
|
||||||
RUN chmod +x n9e
|
RUN chmod +x n9e
|
||||||
|
|
||||||
EXPOSE 19000
|
EXPOSE 19000
|
||||||
|
|
|
@ -76,21 +76,21 @@ CREATE TABLE `role_operation`(
|
||||||
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;
|
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;
|
||||||
|
|
||||||
-- Admin is special, who has no concrete operation but can do anything.
|
-- Admin is special, who has no concrete operation but can do anything.
|
||||||
insert into `role_operation`(role_name, operation) values('Guest', 'menu_prom_dash');
|
insert into `role_operation`(role_name, operation) values('Guest', 'menu_metric_explorer');
|
||||||
insert into `role_operation`(role_name, operation) values('Guest', 'menu_target_dash');
|
insert into `role_operation`(role_name, operation) values('Guest', 'menu_object_explorer');
|
||||||
insert into `role_operation`(role_name, operation) values('Guest', 'menu_dashboard');
|
insert into `role_operation`(role_name, operation) values('Guest', 'menu_dashboards');
|
||||||
insert into `role_operation`(role_name, operation) values('Standard', 'menu_prom_dash');
|
insert into `role_operation`(role_name, operation) values('Standard', 'menu_metric_explorer');
|
||||||
insert into `role_operation`(role_name, operation) values('Standard', 'menu_target_dash');
|
insert into `role_operation`(role_name, operation) values('Standard', 'menu_object_explorer');
|
||||||
insert into `role_operation`(role_name, operation) values('Standard', 'menu_dashboard');
|
insert into `role_operation`(role_name, operation) values('Standard', 'menu_dashboards');
|
||||||
insert into `role_operation`(role_name, operation) values('Standard', 'menu_user');
|
insert into `role_operation`(role_name, operation) values('Standard', 'menu_users');
|
||||||
insert into `role_operation`(role_name, operation) values('Standard', 'menu_user_group');
|
insert into `role_operation`(role_name, operation) values('Standard', 'menu_user_groups');
|
||||||
insert into `role_operation`(role_name, operation) values('Standard', 'menu_busi_group');
|
insert into `role_operation`(role_name, operation) values('Standard', 'menu_busi_groups');
|
||||||
insert into `role_operation`(role_name, operation) values('Standard', 'menu_target');
|
insert into `role_operation`(role_name, operation) values('Standard', 'menu_targets');
|
||||||
insert into `role_operation`(role_name, operation) values('Standard', 'menu_alert_rule');
|
insert into `role_operation`(role_name, operation) values('Standard', 'menu_alert_rules');
|
||||||
insert into `role_operation`(role_name, operation) values('Standard', 'menu_alert_mute');
|
insert into `role_operation`(role_name, operation) values('Standard', 'menu_alert_mutes');
|
||||||
insert into `role_operation`(role_name, operation) values('Standard', 'menu_alert_subscribe');
|
insert into `role_operation`(role_name, operation) values('Standard', 'menu_alert_subscribes');
|
||||||
insert into `role_operation`(role_name, operation) values('Standard', 'menu_alert_cur_event');
|
insert into `role_operation`(role_name, operation) values('Standard', 'menu_alert_cur_events');
|
||||||
insert into `role_operation`(role_name, operation) values('Standard', 'menu_alert_his_event');
|
insert into `role_operation`(role_name, operation) values('Standard', 'menu_alert_his_events');
|
||||||
|
|
||||||
-- for alert_rule | collect_rule | mute | dashboard grouping
|
-- for alert_rule | collect_rule | mute | dashboard grouping
|
||||||
CREATE TABLE `busi_group` (
|
CREATE TABLE `busi_group` (
|
||||||
|
|
Loading…
Reference in New Issue