feat: Add new Portainer stacks, setup scripts, and configurations for various services including filebrowser, paperless, and firefly.
This commit is contained in:
45
firefly/dbcommand
Normal file
45
firefly/dbcommand
Normal file
@@ -0,0 +1,45 @@
|
||||
|
||||
1uQ$g72*$9Gw4yFs
|
||||
|
||||
|
||||
$2y$10$2OcSKhMVh6fXLVcxJ6gPx.jtJisfX/j5WM5DE8dAhIibH6hZp/2ze
|
||||
|
||||
|
||||
|
||||
|
||||
INSERT INTO users (email, password, created_at, updated_at)
|
||||
VALUES ('jeffcheng@live.ca', '$2y$10$2OcSKhMVh6fXLVcxJ6gPx.jtJisfX/j5WM5DE8dAhIibH6hZp/2ze', NOW(), NOW()
|
||||
|
||||
|
||||
|
||||
INSERT INTO user_groups (title, created_at, updated_at)
|
||||
VALUES ('User group for jeffcheng@live.ca', NOW(), NOW());
|
||||
|
||||
|
||||
|
||||
SELECT id, title FROM user_groups ORDER BY id DESC LIMIT 1;
|
||||
|
||||
|
||||
|
||||
INSERT INTO user_group_membership (user_id, user_group_id, created_at, updated_at)
|
||||
VALUES (2, 2, NOW(), NOW());
|
||||
|
||||
|
||||
|
||||
DROP DATABASE firefly;
|
||||
CREATE DATABASE firefly CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
|
||||
|
||||
|
||||
|
||||
MULTIUSER=true
|
||||
|
||||
apt UPDATE
|
||||
|
||||
apt install mysql-client
|
||||
|
||||
|
||||
mysql -u firefly -p
|
||||
|
||||
|
||||
|
||||
github token: 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
|
||||
Reference in New Issue
Block a user