add microbin
This commit is contained in:
parent
927e0b2e7a
commit
2a7f7fe975
2 changed files with 61 additions and 4 deletions
|
|
@ -330,11 +330,11 @@ in
|
||||||
# MariaDB database for Nextcloud
|
# MariaDB database for Nextcloud
|
||||||
cloud-db = {
|
cloud-db = {
|
||||||
image = "docker.io/linuxserver/mariadb:latest";
|
image = "docker.io/linuxserver/mariadb:latest";
|
||||||
|
|
||||||
volumes = [
|
volumes = [
|
||||||
"/var/lib/containers/config/cloud-db:/config"
|
"/var/lib/containers/config/cloud-db:/config"
|
||||||
];
|
];
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
PUID = commonUID;
|
PUID = commonUID;
|
||||||
PGID = commonGID;
|
PGID = commonGID;
|
||||||
|
|
@ -344,11 +344,46 @@ in
|
||||||
MYSQL_USER = "nextcloud";
|
MYSQL_USER = "nextcloud";
|
||||||
MYSQL_PASSWORD = "nextcloud";
|
MYSQL_PASSWORD = "nextcloud";
|
||||||
};
|
};
|
||||||
|
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
"--network=podman"
|
"--network=podman"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
autoStart = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
# MicroBin web clipboard
|
||||||
|
microbin = {
|
||||||
|
image = "docker.io/danielszabo99/microbin:latest";
|
||||||
|
|
||||||
|
volumes = [
|
||||||
|
"/var/lib/containers/config/microbin:/app/microbin_data"
|
||||||
|
];
|
||||||
|
|
||||||
|
environment = {
|
||||||
|
PUID = commonUID;
|
||||||
|
PGID = commonGID;
|
||||||
|
TZ = systemTZ;
|
||||||
|
# HTTP Basic Authentication
|
||||||
|
MICROBIN_BASIC_AUTH_USERNAME = "yanlin";
|
||||||
|
MICROBIN_BASIC_AUTH_PASSWORD = "@i<i[_:-^)J7<30Tm;:j4:By-L9P{vilxK)Y#O>K";
|
||||||
|
# Administrator credentials (change from defaults)
|
||||||
|
MICROBIN_ADMIN_USERNAME = "admin";
|
||||||
|
MICROBIN_ADMIN_PASSWORD = "@i<i[_:-^)J7<30Tm;:j4:By-L9P{vilxK)Y#O>K";
|
||||||
|
# Enable public pasta listing
|
||||||
|
MICROBIN_NO_LISTING = "false";
|
||||||
|
# Allow public/private pastes
|
||||||
|
MICROBIN_PRIVATE = "true";
|
||||||
|
};
|
||||||
|
|
||||||
|
ports = [
|
||||||
|
"5010:8080"
|
||||||
|
];
|
||||||
|
|
||||||
|
extraOptions = [
|
||||||
|
"--network=podman"
|
||||||
|
];
|
||||||
|
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -124,6 +124,19 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# MicroBin web clipboard
|
||||||
|
bin = {
|
||||||
|
rule = "Host(`bin.yanlincs.com`)";
|
||||||
|
entrypoints = "websecure";
|
||||||
|
service = "bin";
|
||||||
|
tls = {
|
||||||
|
certResolver = "cloudflare";
|
||||||
|
domains = [{
|
||||||
|
main = "*.yanlincs.com";
|
||||||
|
}];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# WebDAV file server
|
# WebDAV file server
|
||||||
# files = {
|
# files = {
|
||||||
# rule = "Host(`files.yanlincs.com`)";
|
# rule = "Host(`files.yanlincs.com`)";
|
||||||
|
|
@ -219,6 +232,15 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# MicroBin backend (via WireGuard)
|
||||||
|
bin = {
|
||||||
|
loadBalancer = {
|
||||||
|
servers = [{
|
||||||
|
url = "http://10.2.2.20:5010";
|
||||||
|
}];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# WebDAV file server backend (via WireGuard)
|
# WebDAV file server backend (via WireGuard)
|
||||||
# files = {
|
# files = {
|
||||||
# loadBalancer = {
|
# loadBalancer = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue