├── .dockerignore ├── .editorconfig ├── .gitattributes ├── .github └── FUNDING.yml ├── .gitignore ├── .profile ├── Dockerfile ├── Dockerfile-dev ├── LICENSE ├── MenuOptions ├── Submenu Basic Functions │ ├── Power down system │ │ └── Power down system.sh │ ├── Reboot │ │ └── Reboot.sh │ └── Submenu System Information │ │ ├── General Information │ │ └── General Information.sh │ │ ├── List Docker Container │ │ └── List Docker Container.sh │ │ ├── Memory Information │ │ └── Memory Information.sh │ │ ├── Rootkit Check │ │ └── Rootkit Check.sh │ │ ├── Show Video Adapters │ │ ├── README.md │ │ └── Show Video Adapters.sh │ │ └── Submenu Benchmarks │ │ ├── All Tests │ │ └── All Tests.sh │ │ ├── Disk Performance │ │ └── Disk Performance.sh │ │ ├── Network Performance │ │ └── Network Performance.sh │ │ ├── System Performance (older Version) │ │ └── System Performance (older Version).sh │ │ └── System Performance │ │ └── System Performance.sh ├── Submenu Basic Install Steps │ ├── All Steps in One │ │ └── All Steps in One.sh │ ├── General Tools │ │ └── General Tools.sh │ ├── Install Docker Compose │ │ └── Install Docker Compose.sh │ ├── Install Docker │ │ └── Install Docker.sh │ ├── Install Node │ │ └── Install Node.sh │ └── Update and Upgrade │ │ └── Update and Upgrade.sh ├── Submenu Docker │ ├── Basic Docker Control │ │ └── Basic Docker Control.sh │ ├── Portainer │ │ └── Portainer.sh │ └── Submenu Watchtower │ │ ├── Watchtower install on schedule │ │ └── Watchtower install on schedule.sh │ │ └── Watchtower manual run │ │ └── Watchtower manual run.sh ├── Submenu Extra Menus │ └── Supporter Menu │ │ └── Supporter Menu.sh ├── Submenu Media Services │ ├── Media SMB mount │ │ └── Media SMB mount.sh │ ├── Submenu Download Services │ │ ├── SABnzbd │ │ │ └── SABnzbd.sh │ │ ├── qbittorrent-vpn │ │ │ └── qbittorrent-vpn.sh │ │ └── qbittorrent │ │ │ └── qbittorrent.sh │ ├── Submenu Media Players │ │ ├── Jellyfin │ │ │ └── Jellyfin.sh │ │ ├── Plex-Meta-Manager │ │ │ └── Plex-Meta-Manager.sh │ │ ├── Plex │ │ │ └── Plex.sh │ │ └── emby │ │ │ └── emby.sh │ ├── Submenu Media Requester │ │ ├── Ombi │ │ │ └── Ombi.sh │ │ ├── Overseerr │ │ │ └── Overseerr.sh │ │ ├── Wizarr │ │ │ └── Wizarr.sh │ │ └── jellyseerr │ │ │ └── jellyseerr.sh │ ├── Submenu The ARRs │ │ ├── Lidarr │ │ │ └── Lidarr.sh │ │ ├── Prowlarr │ │ │ └── Prowlarr.sh │ │ ├── Radarr 4K │ │ │ └── Radarr 4K.sh │ │ ├── Radarr │ │ │ └── Radarr.sh │ │ ├── Sonarr 4K │ │ │ └── Sonarr 4K.sh │ │ ├── Sonarr │ │ │ └── Sonarr.sh │ │ └── Whisparr │ │ │ └── Whisparr.sh │ └── Submenu Tools │ │ ├── Tautulli │ │ └── Tautulli.sh │ │ └── unpackerr │ │ └── unpackerr.sh ├── Submenu Networking │ ├── AdGuard Home │ │ ├── AdGuard Home.sh │ │ └── README.md │ ├── Dockerproxy │ │ └── Dockerproxy.sh │ ├── Nginx Proxy Manager │ │ └── Nginx Proxy Manager.sh │ ├── Submenu Cloudflare │ │ ├── Create Tunnel │ │ │ └── Create Tunnel.sh │ │ └── Delete Tunnel │ │ │ └── Delete Tunnel.sh │ ├── Swag │ │ ├── README.md │ │ └── Swag.sh │ ├── Traefik │ │ └── Traefik.sh │ └── Uptime Kuma │ │ └── Uptime Kuma.sh ├── Submenu Other │ ├── Submenu Games │ │ └── Submenu Minecraft │ │ │ └── Submenu FTB Direwolf20 1.19 │ │ │ ├── Install FTB Direwolf20 1.19 │ │ │ ├── Install FTB Direwolf20 1.19.sh │ │ │ └── README.md │ │ │ └── Start FTB Direwolf20 1.19 │ │ │ └── Start FTB Direwolf20 1.19.sh │ └── Submenu Manga │ │ ├── Komf │ │ └── Komf.sh │ │ └── Komga │ │ └── Komga.sh ├── Submenu Security │ ├── Authentik │ │ └── Authentik.sh │ ├── Clamav │ │ └── Clamav.sh │ └── Vaultwarden │ │ └── Vaultwarden.sh └── Submenu Tools │ ├── Code-Server │ └── Code-Server.sh │ ├── Dashy │ └── Dashy.sh │ ├── Dozzle │ └── Dozzle.sh │ ├── FreshRSS │ └── FreshRSS.sh │ ├── Homarr │ └── Homarr.sh │ ├── Linkwarden │ └── Linkwarden.sh │ └── Organizr │ └── Organizr.sh ├── README.md ├── compose-dev.yaml ├── compose.yaml ├── ibrafunc.sh ├── ibrainit.sh ├── ibrainstall.sh ├── ibramenu-logo.png ├── ibramenu.sh ├── ibraupdate.sh ├── root ├── defaults │ └── config.ini └── etc │ └── s6-overlay │ └── s6-rc.d │ ├── init-config-end │ └── dependencies.d │ │ └── init-ibramenu-config │ ├── init-ibramenu-config │ ├── dependencies.d │ │ └── init-config │ ├── run │ ├── type │ └── up │ ├── svc-ibramenu │ ├── dependencies.d │ │ └── init-services │ ├── notification-fd │ ├── run │ └── type │ └── user │ └── contents.d │ ├── init-ibramenu-config │ └── svc-ibramenu └── version /.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | .gitignore 3 | .github 4 | .gitattributes 5 | READMETEMPLATE.md 6 | README.md 7 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # This file is globally distributed to all container image projects from 2 | # https://github.com/linuxserver/docker-jenkins-builder/blob/master/.editorconfig 3 | 4 | # top-most EditorConfig file 5 | root = true 6 | 7 | # Unix-style newlines with a newline ending every file 8 | [*] 9 | end_of_line = lf 10 | insert_final_newline = true 11 | # trim_trailing_whitespace may cause unintended issues and should not be globally set true 12 | trim_trailing_whitespace = false 13 | 14 | [{Dockerfile*,**.yml}] 15 | indent_style = space 16 | indent_size = 2 17 | 18 | [{**.sh,root/etc/s6-overlay/s6-rc.d/**,root/etc/cont-init.d/**,root/etc/services.d/**}] 19 | indent_style = space 20 | indent_size = 4 21 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | 7 | # Standard to msysgit 8 | *.doc diff=astextplain 9 | *.DOC diff=astextplain 10 | *.docx diff=astextplain 11 | *.DOCX diff=astextplain 12 | *.dot diff=astextplain 13 | *.DOT diff=astextplain 14 | *.pdf diff=astextplain 15 | *.PDF diff=astextplain 16 | *.rtf diff=astextplain 17 | *.RTF diff=astextplain 18 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [ibracorp, DiscDuck, Taos15] 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ./ibraupdate.sh 2 | ./MenuOptions/Submenu Extra Menus/Supporter Menu/* 3 | 4 | # Windows image file caches 5 | Thumbs.db 6 | ehthumbs.db 7 | 8 | # Folder config file 9 | Desktop.ini 10 | 11 | # Recycle Bin used on file shares 12 | $RECYCLE.BIN/ 13 | 14 | # Windows Installer files 15 | *.cab 16 | *.msi 17 | *.msm 18 | *.msp 19 | 20 | # Windows shortcuts 21 | *.lnk 22 | 23 | # ========================= 24 | # Operating System Files 25 | # ========================= 26 | 27 | # OSX 28 | # ========================= 29 | 30 | .DS_Store 31 | .AppleDouble 32 | .LSOverride 33 | 34 | # Thumbnails 35 | ._* 36 | 37 | # Files that might appear on external disk 38 | .Spotlight-V100 39 | .Trashes 40 | 41 | # Directories potentially created on remote AFP share 42 | .AppleDB 43 | .AppleDesktop 44 | Network Trash Folder 45 | Temporary Items 46 | .apdisk 47 | .jenkins-external 48 | -------------------------------------------------------------------------------- /.profile: -------------------------------------------------------------------------------- 1 | dockernet=ibranet 2 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | # FROM ubuntu:latest 2 | FROM ghcr.io/linuxserver/baseimage-ubuntu:jammy 3 | 4 | # set version label 5 | ARG VERSION 6 | ARG CODE_RELEASE 7 | LABEL maintainer="taos15" 8 | 9 | ARG DEBIAN_FRONTEND=noninteractive 10 | 11 | # add local files 12 | COPY /root / 13 | COPY . /opt/ibracorp/ibramenu/ 14 | 15 | 16 | RUN \ 17 | echo "**** install runtime dependencies ****" && \ 18 | apt-get update && \ 19 | apt-get install -y \ 20 | git \ 21 | jq \ 22 | libatomic1 \ 23 | curl \ 24 | wget \ 25 | ruby \ 26 | ruby-dev \ 27 | net-tools \ 28 | netcat \ 29 | unzip \ 30 | python3-pip \ 31 | gcc \ 32 | python3-dev \ 33 | dos2unix \ 34 | glances \ 35 | tmux \ 36 | zsh \ 37 | mc \ 38 | sudo && \ 39 | gem install mdless 40 | 41 | ## Install Docker 42 | RUN \ 43 | echo "**** Install Docker ****" && \ 44 | apt-get update && \ 45 | apt-get install -y \ 46 | ca-certificates && \ 47 | install -m 0755 -d /etc/apt/keyrings && \ 48 | curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc && \ 49 | chmod a+r /etc/apt/keyrings/docker.asc && \ 50 | # Add the repository to Apt sources: 51 | echo \ 52 | "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \ 53 | $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ 54 | tee /etc/apt/sources.list.d/docker.list > /dev/null && \ 55 | apt-get update && \ 56 | apt-get install -y \ 57 | docker-ce \ 58 | docker-ce-cli \ 59 | containerd.io \ 60 | docker-buildx-plugin \ 61 | docker-compose-plugin 62 | 63 | ## overwrite disclaimer and set ibramenu alias 64 | RUN \ 65 | touch /opt/ibracorp/IBRADISCLAIMER && \ 66 | echo "**** Creating Inbramenu alias ****" && \ 67 | echo IBRADISCLAIMER=accepted > /opt/ibracorp/IBRADISCLAIMER && \ 68 | echo "alias ibramenu='sudo /opt/ibracorp/ibramenu/ibramenu.sh'" | tee -a /etc/bash.bashrc > /dev/null && \ 69 | echo "**** clean up ****" && \ 70 | apt-get clean && \ 71 | rm -rf \ 72 | /config/* \ 73 | /opt/ibracorp/ibrainstall.sh \ 74 | /tmp/* \ 75 | /var/lib/apt/lists/* \ 76 | /var/tmp/* 77 | 78 | 79 | -------------------------------------------------------------------------------- /Dockerfile-dev: -------------------------------------------------------------------------------- 1 | FROM ghcr.io/linuxserver/baseimage-ubuntu:jammy 2 | 3 | # set version label 4 | ARG BUILD_DATE 5 | ARG VERSION 6 | ARG CODE_RELEASE 7 | LABEL maintainer="taos15" 8 | 9 | # environment settings 10 | ARG DEBIAN_FRONTEND="noninteractive" 11 | ENV HOME="/config" 12 | 13 | COPY . /opt/ibracorp/ibramenu 14 | RUN \ 15 | echo "**** install runtime dependencies ****" && \ 16 | apt-get update && \ 17 | apt-get install -y \ 18 | git \ 19 | jq \ 20 | libatomic1 \ 21 | curl \ 22 | wget \ 23 | ruby \ 24 | nano \ 25 | net-tools \ 26 | netcat \ 27 | sudo && \ 28 | gem install mdless && \ 29 | find /opt/ibracorp/ibramenu -type f -iname "*.sh" -exec chmod +x {} \; && \ 30 | echo "**** clean up ****" && \ 31 | apt-get clean && \ 32 | rm -rf \ 33 | /config/* \ 34 | /opt/ibracorp/ibrainstall.sh \ 35 | /tmp/* \ 36 | /var/lib/apt/lists/* \ 37 | /var/tmp/* 38 | 39 | # add local files 40 | COPY /root / 41 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Basic Functions/Power down system/Power down system.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Power Down 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | ibralogo 13 | msgbox "System Power Down" 14 | read -p "Are you sure (y/N)? " -n 1 -r 15 | echo 16 | if [[ $REPLY =~ ^[Yy]$ ]] 17 | then 18 | /sbin/shutdown -h now 19 | fi 20 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Basic Functions/Reboot/Reboot.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Reboot 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | ibralogo 13 | msgbox "System Reboot" 14 | read -p "Are you sure? " -n 1 -r 15 | echo 16 | if [[ $REPLY =~ ^[Yy]$ ]] 17 | then 18 | reboot 19 | fi 20 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Basic Functions/Submenu System Information/General Information/General Information.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Neofetch 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | ibralogo 13 | msgbox "Installing/Preparing Neofetch" 14 | apt install neofetch -y 15 | ibralogo 16 | msgbox "Neofetch" 17 | neofetch -------------------------------------------------------------------------------- /MenuOptions/Submenu Basic Functions/Submenu System Information/List Docker Container/List Docker Container.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : List all Docker Container 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | ibralogo 13 | msgbox "List of all Docker Container" 14 | 15 | docker container ls --format "table {{.Names}}\t{{.Image}}\t{{.ID}}\t{{.Size}}\t{{.Networks}}" -------------------------------------------------------------------------------- /MenuOptions/Submenu Basic Functions/Submenu System Information/Memory Information/Memory Information.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Display Memory Information 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | ibralogo 13 | msgbox "Memory Information" 14 | free -h 15 | read -p "Press Enter to continue..." 16 | dmidecode -t memory -------------------------------------------------------------------------------- /MenuOptions/Submenu Basic Functions/Submenu System Information/Rootkit Check/Rootkit Check.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Rootkit Check 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | ibralogo 13 | msgbox "Installing/Preparing Rootkit Check" 14 | apt install chkrootkit -y 15 | ibralogo 16 | msgbox "Rootkit Check" 17 | chkrootkit -------------------------------------------------------------------------------- /MenuOptions/Submenu Basic Functions/Submenu System Information/Show Video Adapters/README.md: -------------------------------------------------------------------------------- 1 | # Show all system video adapters 2 | 3 | Helpful in case you pass through a GPU/iGPU and want to check. 4 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Basic Functions/Submenu System Information/Show Video Adapters/Show Video Adapters.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ###################################################################### 4 | # Title : Show Video Adapters 5 | # By : DiscDuck, Taos15 6 | # License : General Public License GPL-3.0-or-later 7 | # Another fine product brought to you by IBRACORP™ 8 | ###################################################################### 9 | 10 | check_display () { 11 | sudo lshw -c display 12 | } 13 | 14 | check_display 15 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Basic Functions/Submenu System Information/Submenu Benchmarks/All Tests/All Tests.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Benchmark - All Tests 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | ibralogo 13 | msgbox "Benchmark - All Tests" 14 | curl -sL yabs.sh | bash -------------------------------------------------------------------------------- /MenuOptions/Submenu Basic Functions/Submenu System Information/Submenu Benchmarks/Disk Performance/Disk Performance.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Benchmark - Disk Performance 4 | # By : DiscDuck 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | ibralogo 13 | msgbox "Benchmark - Disk Performance" 14 | curl -sL yabs.sh | bash -s -- -ig -------------------------------------------------------------------------------- /MenuOptions/Submenu Basic Functions/Submenu System Information/Submenu Benchmarks/Network Performance/Network Performance.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Benchmark - Network Performance 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | ibralogo 13 | msgbox "Benchmark - Network Performance" 14 | curl -sL yabs.sh | bash -s -- -fg -------------------------------------------------------------------------------- /MenuOptions/Submenu Basic Functions/Submenu System Information/Submenu Benchmarks/System Performance (older Version)/System Performance (older Version).sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Benchmark - System Performance (older Version) 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | ibralogo 13 | msgbox "Benchmark - System Performance (older Version)" 14 | curl -sL yabs.sh | bash -s -- -fi4 -------------------------------------------------------------------------------- /MenuOptions/Submenu Basic Functions/Submenu System Information/Submenu Benchmarks/System Performance/System Performance.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Benchmark - System Performance 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | ibralogo 13 | msgbox "Benchmark - System Performance" 14 | curl -sL yabs.sh | bash -s -- -fi -------------------------------------------------------------------------------- /MenuOptions/Submenu Basic Install Steps/All Steps in One/All Steps in One.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ###################################################################### 4 | # Title : All Steps 5 | # By : DiscDuck, Taos15 6 | # License : General Public License GPL-3.0-or-later 7 | # Another fine product brought to you by IBRACORP™ 8 | ###################################################################### 9 | 10 | # Include ibrafunc for all the awesome functions 11 | source /opt/ibracorp/ibramenu/ibrafunc.sh 12 | 13 | all_steps () { 14 | msgbox "Update and Upgrade - Step 1 of 4" 15 | "../Update and Upgrade/Update and Upgrade.sh" 16 | msgbox "General Tools - Step 2 of 4" 17 | "../General Tools/General Tools.sh" 18 | msgbox "Docker Install - Step 3 of 4" 19 | "../Install Docker/Install Docker.sh" 20 | msgbox "Docker Compose Install - Step 4 of 4" 21 | "../Install Docker Compose/Install Docker Compose.sh" 22 | msgbox "Please remember to reboot if the process did major Upgrades like the Kernel" 23 | } 24 | 25 | all_steps 26 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Basic Install Steps/General Tools/General Tools.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ###################################################################### 4 | # Title : Install General Tools 5 | # By : DiscDuck, Taos15 6 | # License : General Public License GPL-3.0-or-later 7 | # Another fine product brought to you by IBRACORP™ 8 | ###################################################################### 9 | 10 | install_tools () { 11 | # Update catalog 12 | apt update 13 | # Unzip 14 | apt install unzip -y 15 | # Python 3 (pip) 16 | apt install python3-pip -y 17 | # Pip psutil 18 | apt-get install gcc python3-dev 19 | pip install --no-binary :all: psutil 20 | # Google Download 21 | pip3 install gdown 22 | # dos2unix to fix CRLF 23 | apt install dos2unix -y 24 | # glances monitoring tool 25 | apt install glances -y 26 | # tmux 27 | apt install tmux -y 28 | # zsh 29 | apt install zsh -y 30 | # midnight commander 31 | apt install mc -y 32 | } 33 | 34 | install_tools 35 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Basic Install Steps/Install Docker Compose/Install Docker Compose.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ###################################################################### 4 | # Title : Install Docker Compose 5 | # By : ibros 6 | # License : General Public License GPL-3.0-or-later 7 | # Another fine product brought to you by IBRACORP™ 8 | ###################################################################### 9 | 10 | install_docker_compose () { 11 | mkdir -p ~/.docker/cli-plugins/ 12 | curl -SL https://github.com/docker/compose/releases/download/v2.2.3/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose 13 | chmod +x ~/.docker/cli-plugins/docker-compose 14 | ## install compose switch - https://docs.docker.com/compose/cli-command/#compose-switch 15 | curl -fL https://raw.githubusercontent.com/docker/compose-cli/main/scripts/install/install_linux.sh | sh 16 | docker compose version 17 | } 18 | 19 | install_docker_compose 20 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Basic Install Steps/Install Docker/Install Docker.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ###################################################################### 4 | # Title : Install Docker 5 | # By : DiscDuck, Taos15 6 | # License : General Public License GPL-3.0-or-later 7 | # Another fine product brought to you by IBRACORP™ 8 | ###################################################################### 9 | 10 | install_docker () { 11 | sudo apt-get remove docker docker-engine docker.io containerd runc 12 | sudo apt-get update 13 | sudo apt-get install ca-certificates curl gnupg lsb-release 14 | sudo rm /usr/share/keyrings/docker-archive-keyring.gpg 15 | curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg 16 | echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null 17 | sudo apt-get update 18 | sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y 19 | sudo groupadd docker 20 | sudo usermod -aG docker $USER 21 | } 22 | 23 | create_docker_network () { 24 | read -p "Choose the name for your custome docker network (ex. ibranet) : " customnetwork 25 | customnetwork=${customnetwork:-ibranet} 26 | sed -i "s/^dockernet=.*$/dockernet=$customnetwork/" /opt/ibracorp/ibramenu/.profile 27 | 28 | docker network create $customnetwork > /dev/null 2>&1 29 | } 30 | 31 | install_docker 32 | create_docker_network 33 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Basic Install Steps/Install Node/Install Node.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ###################################################################### 4 | # Title : Install Docker Compose 5 | # By : Taos15 6 | # License : General Public License GPL-3.0-or-later 7 | # Another fine product brought to you by IBRACORP™ 8 | ###################################################################### 9 | 10 | install_node() { 11 | curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash 12 | export NVM_DIR="$HOME/.nvm" 13 | [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm 14 | [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion 15 | nvm install node 16 | } 17 | 18 | install_node 19 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Basic Install Steps/Update and Upgrade/Update and Upgrade.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ###################################################################### 4 | # Title : Update and Upgrade 5 | # By : DiscDuck 6 | # License : General Public License GPL-3.0-or-later 7 | # Another fine product brought to you by IBRACORP™ 8 | ###################################################################### 9 | 10 | # Include ibrafunc for all the awesome functions 11 | source /opt/ibracorp/ibramenu/ibrafunc.sh 12 | 13 | update_upgrade () { 14 | sudo apt update 15 | sudo apt upgrade -y 16 | msgbox "Please remember to reboot if the process did major Upgrades like the Kernel" 17 | } 18 | 19 | update_upgrade 20 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Docker/Basic Docker Control/Basic Docker Control.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Basic Docker Control 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # Greetings 13 | greetings() { 14 | ibralogo 15 | msgbox "Basic Docker Controls" 16 | } 17 | 18 | # Docker Control Menu 19 | docker_control_menu() { 20 | tee <<-EOF 21 | Basic Docker Control Menu 22 | 23 | 1. Stop all Docker Container 24 | 2. Start all Docker Container (up -d) 25 | 3. Execute your own command 26 | 27 | EOF 28 | read -p "Enter Number (1-3) and press Enter: " choice 29 | case $choice in 30 | 1) 31 | msgbox "Stopping all Docker Container" 32 | docker_control "stop" 33 | ;; 34 | 2) 35 | msgbox "Starting all Docker Container" 36 | docker_control "up -d" 37 | ;; 38 | 3) 39 | msgbox "Execute your own Docker Container command" 40 | tee <<-EOF 41 | Examples: 42 | 43 | config = Validate and view the Compose file 44 | down = Stop and remove containers, networks, images, and volumes 45 | pause = Pause services 46 | port = Print the public port for a port binding 47 | ps = List containers 48 | restart = Restart services 49 | rm = Remove stopped containers 50 | start = Start services 51 | unpause = Unpause services 52 | up -d --force-recreate = Recreate containers 53 | convert = Show compose 54 | 55 | EOF 56 | read -p "Enter command to be executed (plain and without \")? " docker_command 57 | docker_control $docker_command 58 | ;; 59 | *) 60 | echo "Not a valid choice..." 61 | ;; 62 | esac 63 | } 64 | 65 | # Docker Control Execute 66 | docker_control() { 67 | store_folder=$(pwd) 68 | cd /opt/appdata 69 | for file in *; do 70 | msgbox "Docker Container $file" 71 | docker_c=("$docker_c[@]}" "$file") 72 | if [ -d "$file" ]; then 73 | cd $file 74 | docker compose $1 75 | cd .. 76 | fi 77 | done 78 | cd "$store_folder" 79 | } 80 | 81 | # Execute 82 | greetings 83 | docker_control_menu 84 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Docker/Portainer/Portainer.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Portainer 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="portainer" # App Name 14 | title="Portainer" # Readable App Title 15 | image="portainer/portainer-ce:latest" # Image and Tag 16 | volumes=" volumes: 17 | - /etc/localtime:/etc/localtime:ro 18 | - /var/run/docker.sock:/var/run/docker.sock:ro 19 | - ./portainer-data:/data" # Volumes 20 | tp_app="" # Theme Park App Name 21 | porte="9001" # External Port 22 | porti="9000" # Internal Port 23 | extrapayload="" # Extra Payload to add to the Compose 24 | 25 | # Execute 26 | app -------------------------------------------------------------------------------- /MenuOptions/Submenu Docker/Submenu Watchtower/Watchtower install on schedule/Watchtower install on schedule.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ###################################################################### 4 | # Title : Install Watchtower on schedule 5 | # By : DiscDuck, Taos15 6 | # License : General Public License GPL-3.0-or-later 7 | # Another fine product brought to you by IBRACORP ^d 8 | ###################################################################### 9 | 10 | # Include ibrafunc for all the awesome functions 11 | source /opt/ibracorp/ibramenu/ibrafunc.sh 12 | 13 | # App Info 14 | app="watchtower" # App Name 15 | title="Watchtower" # Readable App Title 16 | image="containrrr/watchtower" # Image and Tag 17 | 18 | # App 19 | local_appcreate () { 20 | msgbox "Installing $title..." 21 | mkdir -p /opt/appdata/$app && cd /opt/appdata/$app 22 | tee <<-EOF > .env 23 | APP_NAME=$app 24 | IMAGE=$image 25 | EOF 26 | tee <<-EOF > compose.yaml 27 | services: 28 | service-name: 29 | image: \${IMAGE:?err} 30 | container_name: \${APP_NAME:?err} 31 | env_file: 32 | - /opt/appdata/.timezone.env 33 | environment: 34 | - WATCHTOWER_CLEANUP=true 35 | - WATCHTOWER_INCLUDE_RESTARTING=true 36 | - WATCHTOWER_INCLUDE_STOPPED=true 37 | - WATCHTOWER_SCHEDULE=0 0 3 * * * 38 | - WATCHTOWER_TIMEOUT=30 39 | volumes: 40 | - /var/run/docker.sock:/var/run/docker.sock 41 | restart: unless-stopped 42 | security_opt: 43 | - apparmor:unconfined 44 | EOF 45 | docker compose up -d --force-recreate 46 | } 47 | 48 | # List Links 49 | local_appfinalization () { 50 | ibralogo 51 | msgbox "All Done! Watchtower will run every morning at 3am" 52 | echo 53 | } 54 | 55 | # Execute 56 | 57 | local_appcreate 58 | local_appfinalization -------------------------------------------------------------------------------- /MenuOptions/Submenu Docker/Submenu Watchtower/Watchtower manual run/Watchtower manual run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ###################################################################### 4 | # Title : Watchtower manual run 5 | # By : DiscDuck, Taos15 6 | # License : General Public License GPL-3.0-or-later 7 | # Another fine product brought to you by IBRACORP™ 8 | ###################################################################### 9 | 10 | # Include ibrafunc for all the awesome functions 11 | source /opt/ibracorp/ibramenu/ibrafunc.sh 12 | 13 | # Greetings 14 | greetings () { 15 | ibralogo 16 | msgbox "Watchtower manual run" 17 | } 18 | 19 | # Check for Updates and Update Container 20 | 21 | update_container () { 22 | ibralogo 23 | echo 24 | echo "Watchtower will check for Updates and update your Containers if needed..." 25 | echo 26 | docker run --rm --security-opt apparmor=unconfined -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --run-once 27 | echo 28 | msgbox "All done!" 29 | echo 30 | } 31 | 32 | # Execute 33 | greetings 34 | update_container -------------------------------------------------------------------------------- /MenuOptions/Submenu Extra Menus/Supporter Menu/Supporter Menu.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : IBRAMENU Supporter Menu 4 | # By : DiscDuck 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # Define 13 | tokenfile="/opt/ibracorp/token" 14 | token="" 15 | check_token="invalid" 16 | check_access="invalid" 17 | 18 | # Check for local token file 19 | check_token() { 20 | if [ -f $tokenfile ]; then 21 | check_token="valid" 22 | fi 23 | } 24 | 25 | # Check if token grants access 26 | check_access() { 27 | token=$(cat $tokenfile) 28 | access=$(curl -u ibracorp:$token -s https://raw.githubusercontent.com/ibracorp/ibramenu-supporter/main/ACCESS | cat) 29 | if [ "$access" = "validated" ]; then 30 | check_access="valid" 31 | fi 32 | } 33 | 34 | # Become a supporter 35 | become_a_supporter() { 36 | ibralogo 37 | echo 38 | if [ "$check_token" = "invalid" ]; then 39 | echo "There is no token set on your system and therefore no" 40 | echo "access to the IBRAMENU Supporter Menu is available." 41 | else 42 | echo "There is a token set on your system, but it is not valid" 43 | echo "to access the IBRAMENU Supporter Menu." 44 | fi 45 | msgbox "Become a Supporter" 46 | tee <<-EOF 47 | What's Included 48 | 49 | Help support our work at IBRACORP (and the developers of IBRAMENU) 50 | by buying the supporter edition of IBRAMENU for a one-time purchase. 51 | This purchase will provide you with the limited edition 52 | Supporter Edition of IBRAMENU. 53 | 54 | This version allows everything the free version does plus: 55 | 56 | Access to the exclusive IBRAMENU Supporter Channel on our 57 | IBRACORP Discord Server 58 | Exclusive automation within the already available menu options 59 | The following perks are included and are valid for one year after 60 | purchase and will need to be renewed if you choose to (optional): 61 | 62 | * Priority updates to receive the latest version of IBRAMENU Beta 63 | access to early release versions 64 | * Discord perks and roles (optional - please remember to add your 65 | Discord details on checkout!) 66 | * VIP access to supporter-only Discord channels 67 | * Exclusive supporter role for IBRAMENU 68 | * Your voice is heard in future development and function 69 | 70 | Most importantly, by purchasing this option you are helping support our 71 | work put in to develop and maintain IBRAMENU and we greatly appreciate 72 | your support. 73 | 74 | Visit https://ibramenu.io/product/ibramenu-supporter-package/ 75 | EOF 76 | } 77 | 78 | # Request token and store local 79 | request_local_token() { 80 | read -p "Please enter your personal IBRAMENU Supporter token: " token 81 | echo "$token" >"$tokenfile" 82 | } 83 | 84 | check() { 85 | check_token 86 | if [ $check_token = "valid" ]; then 87 | check_access 88 | fi 89 | } 90 | 91 | # Execute 92 | check 93 | if [ "$check_token" = "valid" ] && [ "$check_access" = "valid" ]; then 94 | ibramenusupporter="/opt/ibracorp/ibramenu-supporter" 95 | if [ -d "$ibramenusupporter" ]; then 96 | rm -r "$ibramenusupporter" 97 | fi 98 | git clone -b main --single-branch https://oauth2:$token@github.com/ibracorp/ibramenu-supporter.git "$ibramenusupporter" 99 | find "$ibramenusupporter" -type f -iname "*.sh" -exec chmod +x {} \; 100 | /opt/ibracorp/ibramenu/ibramenu.sh "$ibramenusupporter/MenuOptions/" 101 | else 102 | become_a_supporter 103 | echo 104 | request_local_token 105 | fi 106 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Media Services/Media SMB mount/Media SMB mount.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ###################################################################### 4 | # Title : Create Media SMB mount 5 | # By : DiscDuck, Taos15 6 | # License : General Public License GPL-3.0-or-later 7 | # Another fine product brought to you by IBRACORP™ 8 | ###################################################################### 9 | 10 | # Include ibrafunc for all the awesome functions 11 | source /opt/ibracorp/ibramenu/ibrafunc.sh 12 | 13 | # Greetings 14 | greetings () { 15 | ibralogo 16 | msgbox "Media SMB mount" 17 | } 18 | 19 | # Parameters 20 | parameters () { 21 | msgbox "Setting Parameters for Your Setup" 22 | tee <<-EOF 23 | We will now automatically create your Media SMB mount. 24 | 25 | It will work with Media Server Services from IBRAMENU like 26 | * Plex * Sonarr * Radarr * Prowlarr * SABnzbd * 27 | 28 | After we gathered information about your Storage setup, we will 29 | setup the mount to your Storage Server. 30 | 31 | You will now be asked the following questions: 32 | Your Storage Server Username and Password 33 | The Storage Server Address like "192.168.0.1" or "storage.local" 34 | The Share name where your media is located, like "media" 35 | 36 | Please enter all parameters without any "". 37 | 38 | EOF 39 | read -p "Username for your storage server: " username 40 | read -sp "Password for that user (input will not show): " password 41 | echo 42 | read -p "The address of your storage server: " storage_server 43 | read -p "The share name for media: " storage_share 44 | } 45 | 46 | # Storage Mount 47 | storage_mount () { 48 | msgbox "Installing CIFS/SMB Utilities and creating the Mount" 49 | sleep 2 50 | apt install cifs-utils -y 51 | fstorage_share=${storage_share//[ ]/\\040} 52 | tee <<-EOF > /root/.storage_credentials 53 | username=$username 54 | password=$password 55 | EOF 56 | mkdir -p /mnt/media 57 | tee <<-EOF >> /etc/fstab 58 | #media 59 | //$storage_server/$fstorage_share /mnt/media cifs noperm,rw,credentials=/root/.storage_credentials,uid=1000,gid=1000,file_mode=0660,dir_mode=0770,vers=3.0 0 0 60 | EOF 61 | mount -a 62 | } 63 | 64 | # Finalization 65 | 66 | finalization () { 67 | sleep 3 68 | ibralogo 69 | msgbox "All Done!" 70 | echo 71 | echo "Your media mount is now available under /mnt/media" 72 | echo 73 | echo "All IBRAMENU Media player, ARRs and download services will be using the mount out of the box." 74 | echo 75 | } 76 | 77 | # Execute 78 | greetings 79 | parameters 80 | storage_mount 81 | finalization 82 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Media Services/Submenu Download Services/SABnzbd/SABnzbd.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install SABnzbd 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="sabnzbd" # App Name 14 | title="SABnzbd" # Readable App Title 15 | image="lscr.io/linuxserver/sabnzbd:latest" # Image and Tag 16 | volumes=" volumes: 17 | - /opt/appdata/\${APP_NAME:?err}:/config 18 | - /mnt/media:/media" # Volumes 19 | tp_app="sabnzbd" # Theme Park App Name 20 | porte="8081" # External Port 21 | porti="8080" # Internal Port 22 | extrapayload="" # Extra Payload to add to the Compose 23 | 24 | # Execute 25 | app -------------------------------------------------------------------------------- /MenuOptions/Submenu Media Services/Submenu Download Services/qbittorrent-vpn/qbittorrent-vpn.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Qbittorrent-vpn 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # Record lan ip to access WEBUI 13 | read -p "Enter you lan Network EX. (192.168.1.0/24) : " IP 14 | 15 | # App Info 16 | app="qbittorrent-vpn" # App Name 17 | title="qbittorrent-vpn" # Readable App Title 18 | image="ghcr.io/hotio/qbittorrent" # Image and Tag 19 | volumes=" volumes: 20 | - /opt/appdata/\${APP_NAME:?err}:/config 21 | - /mnt/media:/media" # Volumes 22 | tp_app="qbittorrent" # Theme Park App Name 23 | porte="8080" # External Port 24 | porti="8080" # Internal Port 25 | porte2="8118" # External Port 26 | porti2="8118" # Internal Port # Internal Port 27 | extrapayload=" environment: 28 | - VPN_ENABLED=true 29 | - VPN_CONF=wg0 30 | - PRIVOXY_ENABLED=false 31 | - VPN_LAN_NETWORK=${IP} 32 | cap_add: 33 | - NET_ADMIN 34 | sysctls: 35 | - net.ipv4.conf.all.src_valid_mark=1 36 | - net.ipv6.conf.all.disable_ipv6=1" 37 | # - VPN_ADDITIONAL_PORTS=7878/tcp,9117/tcp # for additional ports, Ex. Wanting to route traffic from other containers over the vpn 38 | 39 | # Execute 40 | app 41 | sudo mkdir -p /opt/appdata/qbittorrent-vpn/wireguard 42 | sudo touch /opt/appdata/qbittorrent-vpn/wireguard/wg0.conf 43 | 44 | sudo tee <<-EOF > /opt/appdata/qbittorrent-vpn/wireguard/wg0.conf 45 | [Interface] 46 | PrivateKey = supersecretprivatekey 47 | Address = xx.xx.xxx.xxx/32 48 | DNS = 1.1.1.1 49 | 50 | [Peer] 51 | PublicKey = publickey 52 | AllowedIPs = 0.0.0.0/0 53 | Endpoint = xxx.x.xxx.x:51820 54 | EOF 55 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Media Services/Submenu Download Services/qbittorrent/qbittorrent.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Qbittorrent 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="qbittorrent" # App Name 14 | title="qbittorrent" # Readable App Title 15 | image="ghcr.io/hotio/qbittorrent" # Image and Tag 16 | volumes=" volumes: 17 | - /opt/appdata/\${APP_NAME:?err}:/config 18 | - /mnt/media:/media" # Volumes 19 | tp_app="qbittorrent" # Theme Park App Name 20 | porte="8080" # External Port 21 | porti="8080" # Internal Port 22 | extrapayload="" # Extra Payload to add to the Compose 23 | 24 | # Execute 25 | app 26 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Media Services/Submenu Media Players/Jellyfin/Jellyfin.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Jellyfin 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="jellyfin" # App Name 14 | title="Jellyfin" # Readable App Title 15 | image="lscr.io/linuxserver/jellyfin:latest" # Image and Tag 16 | 17 | # App 18 | local_appcreate () { 19 | msgbox "Installing $title..." 20 | mkdir -p /opt/appdata/$app && cd /opt/appdata/$app 21 | tee <<-EOF > .env 22 | APP_NAME=$app 23 | IMAGE=$image 24 | TP_APP=$tp_app 25 | EOF 26 | tee <<-EOF > compose.yaml 27 | services: 28 | service-name: 29 | image: \${IMAGE:?err} 30 | container_name: \${APP_NAME:?err} 31 | env_file: 32 | - /opt/appdata/.id.env 33 | - /opt/appdata/.timezone.env 34 | # environment: 35 | # - JELLYFIN_PublishedServerUrl=192.168.0.5 #optional 36 | volumes: 37 | - /opt/appdata/jellyfin/config:/config 38 | - /mnt/media:/media 39 | ports: 40 | - 8096:8096 41 | # - 8920:8920 #optional 42 | # - 7359:7359/udp #optional 43 | # - 1900:1900/udp #optional 44 | networks: 45 | - $dockernet 46 | restart: unless-stopped 47 | security_opt: 48 | - apparmor:unconfined 49 | 50 | networks: 51 | $dockernet: 52 | driver: bridge 53 | external: true 54 | EOF 55 | docker compose up -d --force-recreate 56 | } 57 | 58 | # List Links 59 | local_appfinalization () { 60 | ibralogo 61 | msgbox "All Done! Here is the link to $title:" 62 | echo 63 | ip=$(hostname -I | awk '{print $1}') 64 | echo "$title: http://$ip:8096" 65 | echo 66 | } 67 | 68 | # Execute 69 | 70 | local_appcreate 71 | local_appfinalization -------------------------------------------------------------------------------- /MenuOptions/Submenu Media Services/Submenu Media Players/Plex-Meta-Manager/Plex-Meta-Manager.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Komga 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="Plex-Meta-Manager" # App Name 14 | title="Plex-Meta-Manager" # Readable App Title 15 | image="meisnate12/plex-meta-manager" # Image and Tag 16 | volumes=" volumes: 17 | - /opt/appdata/\${APP_NAME:?err}:/config" # Volumes 18 | tp_app="Plex" # Theme Park App Name 19 | # porte="8085" # External Port 20 | # porti="8080" # Internal Port 21 | extrapayload="" # Extra Payload to add to the Compose 22 | 23 | # Execute 24 | app 25 | 26 | sudo mkdir -p /opt/appdata/Plex-Meta-Manager/assets 27 | curl -fLvo /opt/appdata/Plex-Meta-Manager/config.yml https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager/master/config/config.yml.template 28 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Media Services/Submenu Media Players/Plex/Plex.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Plex 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="plex" # App Name 14 | title="Plex" # Readable App Title 15 | image="lscr.io/linuxserver/plex:latest" # Image and Tag 16 | tp_app="plex" # Theme Park App Name 17 | 18 | 19 | # App 20 | local_appcreate () { 21 | msgbox "Installing $title..." 22 | mkdir -p /opt/appdata/$app && cd /opt/appdata/$app 23 | tee <<-EOF > .env 24 | APP_NAME=$app 25 | IMAGE=$image 26 | TP_APP=$tp_app 27 | EOF 28 | tee <<-EOF > compose.yaml 29 | services: 30 | service-name: 31 | image: \${IMAGE:?err} 32 | container_name: \${APP_NAME:?err} 33 | network_mode: host 34 | env_file: 35 | - /opt/appdata/.id.env 36 | - /opt/appdata/.timezone.env 37 | - /opt/appdata/.themepark.env 38 | environment: 39 | - VERSION=docker 40 | - PLEX_PASS="yes" 41 | - PLEX_CLAIM= #optional 42 | - ADVERTISE_IP 43 | - ALLOWED_NETWORKS 44 | volumes: 45 | - /opt/appdata/plex/config:/config 46 | - /opt/appdata/plex/transcode:/transcode 47 | - /mnt/media:/media 48 | restart: unless-stopped 49 | security_opt: 50 | - apparmor:unconfined 51 | EOF 52 | docker compose up -d --force-recreate 53 | } 54 | 55 | # List Links 56 | local_appfinalization () { 57 | porte="32400/web" 58 | check_ibradashy 59 | ibralogo 60 | msgbox "All Done! Here is the link to $title:" 61 | echo 62 | ip=$(hostname -I | awk '{print $1}') 63 | echo "$title: http://$ip:32400/web" 64 | ibradashy 65 | msgbox "You can also find $title on your IBRACORP Dashy website:" 66 | echo "http://$ip:8086" 67 | echo 68 | } 69 | 70 | # Execute 71 | 72 | local_appcreate 73 | local_appfinalization 74 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Media Services/Submenu Media Players/emby/emby.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Emby 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="emby" # App Name 14 | title="emby" # Readable App Title 15 | image="lscr.io/linuxserver/emby:latest" # Image and Tag 16 | volumes=" volumes: 17 | - /opt/appdata/\${APP_NAME:?err}:/config 18 | - /mnt/media:/media" # Volumes 19 | tp_app="emby" # Theme Park App Name 20 | porte="8096" # External Port 21 | porti="8096" # Internal Port 22 | # extrapayload=" devices: 23 | # - /dev/dri:/dev/dri #optional 24 | # - /dev/vchiq:/dev/vchiq #optional 25 | # - /dev/video10:/dev/video10 #optional 26 | # - /dev/video11:/dev/video11 #optional 27 | # - /dev/video12:/dev/video12 #optional" # Extra Payload to add to the Compose this one are for hw trasncode 28 | 29 | # Execute 30 | app -------------------------------------------------------------------------------- /MenuOptions/Submenu Media Services/Submenu Media Requester/Ombi/Ombi.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Ombi 4 | # By : DiscDuck 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="ombi" # App Name 14 | title="Ombi" # Readable App Title 15 | image="lscr.io/linuxserver/ombi:latest" # Image and Tag 16 | volumes=" volumes: 17 | - /opt/appdata/\${APP_NAME:?err}:/config" # Volumes 18 | porte="3579" # External Port 19 | porti="3579" # Internal Port 20 | extrapayload="" # Extra Payload to add to the Compose 21 | 22 | # Execute 23 | app -------------------------------------------------------------------------------- /MenuOptions/Submenu Media Services/Submenu Media Requester/Overseerr/Overseerr.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Overseerr 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="overseerr" # App Name 14 | title="Overseerr" # Readable App Title 15 | image="lscr.io/linuxserver/overseerr:latest" # Image and Tag 16 | volumes=" volumes: 17 | - /opt/appdata/\${APP_NAME:?err}:/config" # Volumes 18 | porte="5055" # External Port 19 | porti="5055" # Internal Port 20 | extrapayload="" # Extra Payload to add to the Compose 21 | 22 | # Execute 23 | app -------------------------------------------------------------------------------- /MenuOptions/Submenu Media Services/Submenu Media Requester/Wizarr/Wizarr.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Wizarr 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="Wizarr" # App Name 14 | title="wizarr" # Readable App Title 15 | image="ghcr.io/wizarrrr/wizarr" # Image and Tag 16 | volumes=" volumes: 17 | - /opt/appdata/\${APP_NAME:?err}:/data/database" # Volumes 18 | porte="5690" # External Port 19 | porti="5690" # Internal Port 20 | extrapayload=" environment: 21 | - APP_URL=https://wizarr.\${DOMAIN} 22 | - DISABLE_BUILTIN_AUTH=false 23 | # labels: 24 | # - traefik.enable=true 25 | # - traefik.http.routers.wizarr.entrypoints=https 26 | # - traefik.http.routers.wizarr.rule=Host(\`wizarr.\${DOMAIN}\`)" 27 | 28 | 29 | # Execute 30 | app -------------------------------------------------------------------------------- /MenuOptions/Submenu Media Services/Submenu Media Requester/jellyseerr/jellyseerr.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Jellyseer 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="jellyseerr" # App Name 14 | title="jellyseerr" # Readable App Title 15 | image="fallenbagel/jellyseerr:latest" # Image and Tag 16 | volumes=" volumes: 17 | - /opt/appdata/\${APP_NAME:?err}:/app/config" # Volumes 18 | porte="5056" # External Port 19 | porti="5055" # Internal Port 20 | extrapayload=" environment: 21 | - JELLYFIN_TYPE=emby" #comment if using jellyfin # Extra Payload to add to the Compose 22 | 23 | # Execute 24 | app -------------------------------------------------------------------------------- /MenuOptions/Submenu Media Services/Submenu The ARRs/Lidarr/Lidarr.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Lidarr 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="lidarr" # App Name 14 | title="Lidarr" # Readable App Title 15 | image="lscr.io/linuxserver/lidarr:latest" # Image and Tag 16 | volumes=" volumes: 17 | - /opt/appdata/\${APP_NAME:?err}:/config 18 | - /mnt/media:/media" # Volumes 19 | tp_app="lidarr" # Theme Park App Name 20 | porte="8686" # External Port 21 | porti="8686" # Internal Port 22 | extrapayload="" # Extra Payload to add to the Compose 23 | 24 | # Execute 25 | app -------------------------------------------------------------------------------- /MenuOptions/Submenu Media Services/Submenu The ARRs/Prowlarr/Prowlarr.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Prowlarr 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="prowlarr" # App Name 14 | title="Prowlarr" # Readable App Title 15 | image="lscr.io/linuxserver/prowlarr:develop" # Image and Tag 16 | volumes=" volumes: 17 | - /opt/appdata/\${APP_NAME:?err}:/config" # Volumes 18 | tp_app="prowlarr" # Theme Park App Name 19 | porte="9696" # External Port 20 | porti="9696" # Internal Port 21 | extrapayload="" # Extra Payload to add to the Compose 22 | 23 | # Execute 24 | app -------------------------------------------------------------------------------- /MenuOptions/Submenu Media Services/Submenu The ARRs/Radarr 4K/Radarr 4K.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Radarr 4K 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="radarr4k" # App Name 14 | title="Radarr 4K" # Readable App Title 15 | image="lscr.io/linuxserver/radarr:latest" # Image and Tag 16 | volumes=" volumes: 17 | - /opt/appdata/\${APP_NAME:?err}:/config 18 | - /mnt/media:/media" # Volumes 19 | tp_app="radarr" # Theme Park App Name 20 | porte="7879" # External Port 21 | porti="7878" # Internal Port 22 | extrapayload=" environment: 23 | - TP_ADDON=radarr-4k-logo" # Extra Payload to add to the Compose 24 | 25 | # Execute 26 | app -------------------------------------------------------------------------------- /MenuOptions/Submenu Media Services/Submenu The ARRs/Radarr/Radarr.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Radarr 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="radarr" # App Name 14 | title="Radarr" # Readable App Title 15 | image="lscr.io/linuxserver/radarr:latest" # Image and Tag 16 | volumes=" volumes: 17 | - /opt/appdata/\${APP_NAME:?err}:/config 18 | - /mnt/media:/media" # Volumes 19 | tp_app="radarr" # Theme Park App Name 20 | porte="7878" # External Port 21 | porti="7878" # Internal Port 22 | extrapayload="" # Extra Payload to add to the Compose 23 | 24 | # Execute 25 | app -------------------------------------------------------------------------------- /MenuOptions/Submenu Media Services/Submenu The ARRs/Sonarr 4K/Sonarr 4K.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Sonarr 4K 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="sonarr4k" # App Name 14 | title="Sonarr 4K" # Readable App Title 15 | image="lscr.io/linuxserver/sonarr:latest" # Image and Tag 16 | volumes=" volumes: 17 | - /opt/appdata/\${APP_NAME:?err}:/config 18 | - /mnt/media:/media" # Volumes 19 | tp_app="sonarr" # Theme Park App Name 20 | porte="8990" # External Port 21 | porti="8989" # Internal Port 22 | extrapayload=" environment: 23 | - TP_ADDON=sonarr-4k-logo" # Extra Payload to add to the Compose 24 | 25 | # Execute 26 | app -------------------------------------------------------------------------------- /MenuOptions/Submenu Media Services/Submenu The ARRs/Sonarr/Sonarr.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Sonarr 4 | # By : DiscDuck 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="sonarr" # App Name 14 | title="Sonarr" # Readable App Title 15 | image="lscr.io/linuxserver/sonarr:latest" # Image and Tag 16 | volumes=" volumes: 17 | - /opt/appdata/\${APP_NAME:?err}:/config 18 | - /mnt/media:/media" # Volumes 19 | tp_app="sonarr" # Theme Park App Name 20 | porte="8989" # External Port 21 | porti="8989" # Internal Port 22 | extrapayload="" # Extra Payload to add to the Compose 23 | 24 | # Execute 25 | app -------------------------------------------------------------------------------- /MenuOptions/Submenu Media Services/Submenu The ARRs/Whisparr/Whisparr.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Whisparr 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="whiasparr" # App Name 14 | title="Whisparr" # Readable App Title 15 | image="ghcr.io/hotio/whisparr" # Image and Tag 16 | volumes=" volumes: 17 | - /opt/appdata/\${APP_NAME:?err}:/config 18 | - /mnt/media:/media" # Volumes 19 | tp_app="" # Theme Park App Name 20 | porte="6969" # External Port 21 | porti="6969" # Internal Port 22 | extrapayload="" # Extra Payload to add to the Compose 23 | 24 | # Execute 25 | app 26 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Media Services/Submenu Tools/Tautulli/Tautulli.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Tautulli 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="tautulli" # App Name 14 | title="Tautulli" # Readable App Title 15 | image="lscr.io/linuxserver/tautulli:latest" # Image and Tag 16 | volumes=" volumes: 17 | - /opt/appdata/\${APP_NAME:?err}:/config" # Volumes 18 | tp_app="tautulli" # Theme Park App Name 19 | porte="8181" # External Port 20 | porti="8181" # Internal Port 21 | extrapayload="" # Extra Payload to add to the Compose 22 | 23 | # Execute 24 | app -------------------------------------------------------------------------------- /MenuOptions/Submenu Media Services/Submenu Tools/unpackerr/unpackerr.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Unpackerr 4 | # By : DiscDuck 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="unpackerr" # App Name 14 | title="unpackerr" # Readable App Title 15 | image="golift/unpackerr" # Image and Tag 16 | volumes=" volumes: 17 | - /opt/appdata/\${APP_NAME:?err}:/config 18 | - /mnt/media:/media" # Volumes 19 | tp_app="unpackerr" # Theme Park App Name 20 | porte="" # External Port 21 | porti="" # Internal Port 22 | extrapayload=" environment: 23 | - TZ=${TZ} 24 | # General config 25 | - UN_DEBUG=false 26 | - UN_LOG_FILE= 27 | - UN_LOG_FILES=10 28 | - UN_LOG_FILE_MB=10 29 | - UN_INTERVAL=2m 30 | - UN_START_DELAY=1m 31 | - UN_RETRY_DELAY=5m 32 | - UN_MAX_RETRIES=3 33 | - UN_PARALLEL=1 34 | - UN_FILE_MODE=0644 35 | - UN_DIR_MODE=0755 36 | # Sonarr Config 37 | - UN_SONARR_0_URL=http://sonarr:8989 38 | - UN_SONARR_0_API_KEY= 39 | - UN_SONARR_0_PATHS_0=/media/torrents 40 | - UN_SONARR_0_PROTOCOLS=torrent 41 | - UN_SONARR_0_TIMEOUT=10s 42 | - UN_SONARR_0_DELETE_ORIG=false 43 | - UN_SONARR_0_DELETE_DELAY=5m 44 | # Radarr Config 45 | - UN_RADARR_0_URL=http://radarr:7878 46 | - UN_RADARR_0_API_KEY= 47 | - UN_RADARR_0_PATHS_0=/media/torrents 48 | - UN_RADARR_0_PROTOCOLS=torrent 49 | - UN_RADARR_0_TIMEOUT=10s 50 | - UN_RADARR_0_DELETE_ORIG=false 51 | - UN_RADARR_0_DELETE_DELAY=5m 52 | # # Lidarr Config 53 | # - UN_LIDARR_0_URL=http://lidarr:8686 54 | # - UN_LIDARR_0_API_KEY= 55 | # - UN_LIDARR_0_PATHS_0=/media/torrents 56 | # - UN_LIDARR_0_PROTOCOLS=torrent 57 | # - UN_LIDARR_0_TIMEOUT=10s 58 | # - UN_LIDARR_0_DELETE_ORIG=false 59 | # - UN_LIDARR_0_DELETE_DELAY=5m 60 | # # Readarr Config 61 | # - UN_READARR_0_URL=http://readarr:8787 62 | # - UN_READARR_0_API_KEY= 63 | # - UN_READARR_0_PATHS_0=/media/torrents 64 | # - UN_READARR_0_PROTOCOLS=torrent 65 | # - UN_READARR_0_TIMEOUT=10s 66 | # - UN_READARR_0_DELETE_ORIG=false 67 | # - UN_READARR_0_DELETE_DELAY=5m 68 | # # Folder Config 69 | # - UN_FOLDER_0_PATH= 70 | # - UN_FOLDER_0_EXTRACT_PATH= 71 | # - UN_FOLDER_0_DELETE_AFTER=10m 72 | # - UN_FOLDER_0_DELETE_ORIGINAL=false 73 | # - UN_FOLDER_0_DELETE_FILES=false 74 | # - UN_FOLDER_0_MOVE_BACK=false 75 | # # Webhook Config 76 | # - UN_WEBHOOK_0_URL= 77 | # - UN_WEBHOOK_0_NAME= 78 | # - UN_WEBHOOK_0_NICKNAME=Unpackerr 79 | # - UN_WEBHOOK_0_CHANNEL= 80 | # - UN_WEBHOOK_0_TIMEOUT=10s 81 | # - UN_WEBHOOK_0_SILENT=false 82 | # - UN_WEBHOOK_0_IGNORE_SSL=false 83 | # - UN_WEBHOOK_0_EXCLUDE_0= 84 | # - UN_WEBHOOK_0_EVENTS_0=0 85 | # - UN_WEBHOOK_0_TEMPLATE_PATH= 86 | # - UN_WEBHOOK_0_CONTENT_TYPE=application/json 87 | # # Command Hook Config 88 | # - UN_CMDHOOK_0_COMMAND= 89 | # - UN_CMDHOOK_0_NAME= 90 | # - UN_CMDHOOK_0_TIMEOUT=10s 91 | # - UN_CMDHOOK_0_SILENT=false 92 | # - UN_CMDHOOK_0_SHELL=false 93 | # - UN_CMDHOOK_0_EXCLUDE_0= 94 | # - UN_CMDHOOK_0_EVENTS_0=0" # Extra Payload to add to the Compose 95 | 96 | # Execute 97 | app -------------------------------------------------------------------------------- /MenuOptions/Submenu Networking/AdGuard Home/AdGuard Home.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install AdGuard Home 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="adguardhome" # App Name 14 | title="AdGuard Home" # Readable App Title 15 | image="adguard/adguardhome" # Image and Tag 16 | 17 | # Disable systemd-resolved 18 | prepare () { 19 | systemctl disable systemd-resolved.service 20 | systemctl stop systemd-resolved 21 | } 22 | 23 | # App 24 | local_appcreate () { 25 | msgbox "Installing $title..." 26 | mkdir -p /opt/appdata/$app && cd /opt/appdata/$app 27 | tee <<-EOF > .env 28 | APP_NAME=$app 29 | IMAGE=$image 30 | TP_APP=$tp_app 31 | EOF 32 | tee <<-EOF > compose.yaml 33 | services: 34 | service-name: 35 | image: \${IMAGE:?err} 36 | container_name: \${APP_NAME:?err} 37 | network_mode: host 38 | ports: 39 | - 53:53/tcp 40 | - 53:53/udp 41 | - 784:784/udp 42 | - 853:853/tcp 43 | - 3000:3000/tcp 44 | - 83:80/tcp 45 | env_file: 46 | - /opt/appdata/.id.env 47 | - /opt/appdata/.timezone.env 48 | volumes: 49 | - ./work:/opt/adguardhome/work 50 | - ./conf:/opt/adguardhome/conf 51 | restart: unless-stopped 52 | security_opt: 53 | - apparmor:unconfined 54 | EOF 55 | docker compose up -d --force-recreate 56 | } 57 | 58 | # List Links 59 | local_appfinalization () { 60 | ibralogo 61 | msgbox "All Done! Here is the link to $title:" 62 | echo 63 | ip=$(hostname -I | awk '{print $1}') 64 | echo "$title: http://$ip:3000" 65 | echo 66 | } 67 | 68 | # Execute 69 | 70 | prepare 71 | local_appcreate 72 | local_appfinalization -------------------------------------------------------------------------------- /MenuOptions/Submenu Networking/AdGuard Home/README.md: -------------------------------------------------------------------------------- 1 | **AdGuard Home Installation** 2 | 3 | Before you install AdGuard Home, please read the following points: 4 | 5 | * AdGuard Home works best if it is installed on a dedicated machine, virtual machine (VM) or Linux Container (Proxmox LXC) 6 | * Best not to mix AdGuard Home with other services on the same machine 7 | * Use a dedicated IP address for the machine you install AdGuard Home on 8 | * During the installation, systemd-resolved will be disabled on the local machine -------------------------------------------------------------------------------- /MenuOptions/Submenu Networking/Dockerproxy/Dockerproxy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Dockerproxy 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | # Include ibrafunc for all the awesome functions 9 | source /opt/ibracorp/ibramenu/ibrafunc.sh 10 | 11 | # App Info 12 | app="Dockerproxy" # App Name 13 | title="Dockerproxy" # Readable App Title 14 | image="ghcr.io/tecnativa/docker-socket-proxy:latest" # Image and Tag 15 | volumes=" volumes: 16 | - /var/run/docker.sock:/var/run/docker.sock:ro" # Volumes 17 | tp_app="" # Theme Park App Name 18 | porte="2375" # External Port 19 | porti="2375" # Internal Port 20 | extrapayload=" environment: 21 | CONTAINERS: 1 22 | POST: 0 23 | 24 | " # Extra Payload to add to the Compose add 4 spance to the top group for example environment: and 6 for the childs (if copy and pasting you just need to add the space to the parent). 25 | 26 | # Execute 27 | app 28 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Networking/Nginx Proxy Manager/Nginx Proxy Manager.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Nginx Proxy Manager 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="npm" # App Name 14 | title="Nginx Proxy Manager" # Readable App Title 15 | image="jc21/nginx-proxy-manager:latest" # Image and Tag 16 | 17 | # App 18 | local_appcreate () { 19 | msgbox "Installing $title..." 20 | mkdir -p /opt/appdata/$app && cd /opt/appdata/$app 21 | tee <<-EOF > .env 22 | APP_NAME=$app 23 | IMAGE=$image 24 | EOF 25 | tee <<-EOF > compose.yaml 26 | services: 27 | service-name: 28 | image: \${IMAGE:?err} 29 | container_name: \${APP_NAME:?err} 30 | ports: 31 | - '80:80' 32 | - '81:81' 33 | - '443:443' 34 | networks: 35 | - $dockernet 36 | volumes: 37 | - ./data:/data 38 | - ./letsencrypt:/etc/letsencrypt 39 | restart: unless-stopped 40 | security_opt: 41 | - apparmor:unconfined 42 | 43 | networks: 44 | $dockernet: 45 | driver: bridge 46 | external: true 47 | EOF 48 | docker compose up -d --force-recreate 49 | } 50 | 51 | # List Links 52 | local_appfinalization () { 53 | ibralogo 54 | msgbox "All Done! Here is the link to $title:" 55 | echo 56 | ip=$(hostname -I | awk '{print $1}') 57 | echo "$title: http://$ip:81" 58 | echo 59 | echo "Default Admin User" 60 | echo "Email : admin@example.com" 61 | echo "Password: changeme" 62 | echo 63 | } 64 | 65 | # Execute 66 | 67 | local_appcreate 68 | local_appfinalization -------------------------------------------------------------------------------- /MenuOptions/Submenu Networking/Submenu Cloudflare/Create Tunnel/Create Tunnel.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ###################################################################### 4 | # Title : Cloudflare Tunnel Installer 5 | # By : DiscDuck, Taos15 6 | # License : General Public License GPL-3.0-or-later 7 | # Another fine product brought to you by IBRACORP™ 8 | ###################################################################### 9 | 10 | # Include ibrafunc for all the awesome functions 11 | source /opt/ibracorp/ibramenu/ibrafunc.sh 12 | 13 | # Greetings 14 | greetings () { 15 | ibralogo 16 | msgbox "Cloudflare Tunnel Installer" 17 | } 18 | 19 | # Parameters 20 | parameters () { 21 | msgbox "Setting Parameters for Your Setup" 22 | tee <<-EOF 23 | We will now automatically install your Cloudflare Tunnel. 24 | 25 | Please enter all parameters without any "". 26 | 27 | EOF 28 | read -p "Your Domain (domain.com) : " domain 29 | read -p "The IP address of your Reverse Proxy: " ip 30 | read -p "The port of your Reverse Proxy : " port 31 | read -p "The tunnel name (lower caps) : " tunnel 32 | echo 33 | } 34 | 35 | # Preparations 36 | preparations () { 37 | mkdir -p /opt/appdata/cloudflared 38 | chmod -R 777 /opt/appdata/cloudflared 39 | cd /opt/appdata/cloudflared 40 | } 41 | 42 | # Tunnel Creation 43 | tunnelcreation () { 44 | msgbox "Tunnel Authentication" 45 | echo 46 | echo "Please follow the Cloudflare link and authorize the correct Domain" 47 | echo 48 | 49 | docker run -it --rm --security-opt apparmor=unconfined -v /opt/appdata/cloudflared:/home/nonroot/.cloudflared/ cloudflare/cloudflared tunnel login 50 | 51 | docker run -it --rm --security-opt apparmor=unconfined -v /opt/appdata/cloudflared:/home/nonroot/.cloudflared/ cloudflare/cloudflared tunnel create $tunnel 52 | 53 | jid=$(basename *.json .json) 54 | 55 | tee <<-EOF > compose.yaml 56 | services: 57 | cloudflared: 58 | image: cloudflare/cloudflared 59 | container_name: cloudflared 60 | restart: unless-stopped 61 | command: tunnel --config /home/nonroot/.cloudflared/config.yml run $jid 62 | volumes: 63 | - /opt/appdata/cloudflared:/home/nonroot/.cloudflared/ 64 | security_opt: 65 | - apparmor:unconfined 66 | EOF 67 | tee <<-EOF > config.yml 68 | tunnel: $jid 69 | credentials-file: /home/nonroot/.cloudflared/$jid.json 70 | 71 | ingress: 72 | - service: https://$ip:$port 73 | originRequest: 74 | originServerName: $domain 75 | EOF 76 | 77 | docker compose up -d --force-recreate 78 | } 79 | 80 | # Execute 81 | greetings 82 | parameters 83 | preparations 84 | tunnelcreation 85 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Networking/Submenu Cloudflare/Delete Tunnel/Delete Tunnel.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ###################################################################### 4 | # Title : Cloudflare Tunnel Deletion 5 | # By : DiscDuck, Taos15 6 | # License : General Public License GPL-3.0-or-later 7 | # Another fine product brought to you by IBRACORP™ 8 | ###################################################################### 9 | 10 | # Include ibrafunc for all the awesome functions 11 | source /opt/ibracorp/ibramenu/ibrafunc.sh 12 | 13 | # Greetings 14 | greetings () { 15 | ibralogo 16 | msgbox "Cloudflare Tunnel Deletion" 17 | } 18 | 19 | # Tunnel Deletion 20 | tunneldeletion () { 21 | cd /opt/appdata/cloudflared 22 | docker run -it --rm --security-opt apparmor=unconfined -v /opt/appdata/cloudflared:/home/nonroot/.cloudflared/ cloudflare/cloudflared tunnel delete -f lxc-tunnel 23 | docker compose down 24 | id=$(docker image ls -q cloudflare/cloudflared) 25 | docker image rm $id 26 | rm *.json 27 | rm cert.pem 28 | } 29 | 30 | # Execute 31 | greetings 32 | tunneldeletion -------------------------------------------------------------------------------- /MenuOptions/Submenu Networking/Swag/README.md: -------------------------------------------------------------------------------- 1 | Before install, since we are going to validate the domains via DNS provider we will have to get an API token to allow the validation to take place. 2 | 3 | This will be slightly different for each provider. We will use Cloudflare. 4 | 5 | 1 Log in Cloudflare, you will be in the Overview tab. 6 | 7 | 2 Now go to the botton right side of the screen and choose the top tab "Get your API Tokens". Click "Create Token", "Create Custom Token" and then change the zones resources to include all zones (you can specify just a single domain here if you like). 8 | 9 | 3 Now choose the top tab "API Tokens". Click "Create new API Token" and then change the zones resources to include all zones (you can specify just a single domain here if you like). 10 | Click "Continue to summary" and then "Create Token". Copy this token and keep it somewhere safe for now. 11 | 12 | Fot the realIP mode: 13 | 14 | Edit the nginx.conf using `nano /mnt/user/appdata/swag/nginx/nginx.conf` and add `real_ip_recursive on;` 15 | it should look like this: 16 | 17 | ```real_ip_header X-Forwarded-For; 18 | real_ip_recursive on; 19 | include /config/nginx/cf_real-ip.conf;``` -------------------------------------------------------------------------------- /MenuOptions/Submenu Networking/Swag/Swag.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Swag 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | read -p "Your Domain (domain.com) : " domain 10 | read -p "Your Cloudflare API token : " CF_API_TOKEN 11 | # Include ibrafunc for all the awesome functions 12 | source /opt/ibracorp/ibramenu/ibrafunc.sh 13 | 14 | # App Info 15 | app="Swag" # App Name 16 | title="Swag" # Readable App Title 17 | image="lscr.io/linuxserver/swag" # Image and Tag 18 | volumes=" volumes: 19 | - /opt/appdata/\${APP_NAME:?err}:/config" # Volumes 20 | tp_app="Swag" # Theme Park App Name 21 | # porte="8085" # External Port 22 | # porti="8080" # Internal Port 23 | extrapayload=" ports: 24 | - 443:443 25 | - 80:80 26 | - 81:81 27 | environment: 28 | - URL=$domain 29 | - SUBDOMAINS=wildcard 30 | - VALIDATION=dns 31 | - DNSPLUGIN=cloudflare 32 | - DOCKER_MODS'='linuxserver/mods:universal-docker|linuxserver/mods:swag-auto-proxy|linuxserver/mods:swag-cloudflare-real-ip|linuxserver/mods:swag-auto-reload|linuxserver/mods:swag-dashboard 33 | - DOCKER_HOST=dockerproxy 34 | cap_add: 35 | - NET_ADMIN 36 | " # Extra Payload to add to the Compose add 4 spance to the top group for example environment: and 6 for the childs (if copy and pasting you just need to add the space to the parent). 37 | 38 | 39 | # Execute 40 | app 41 | echo "dns_cloudflare_api_token = $CF_API_TOKEN" > /opt/appdata/Swag/dns-conf/cloudflare.ini -------------------------------------------------------------------------------- /MenuOptions/Submenu Networking/Traefik/Traefik.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Traefik 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | read -p "Your Domain (domain.com) : " YOURDOMAIN 10 | read -p "Your cloudflare email : " YOUREMAIL 11 | read -p "Your Cloudflare API token : " CF_API_TOKEN 12 | sudo mkdir -p /opt/appdata/Traefik 13 | tee <<-EOF >/opt/appdata/.traefik.env 14 | CF_DNS_API_TOKEN=$CF_API_TOKEN 15 | DOMAIN=${YOURDOMAIN} 16 | EMAIL=$YOUREMAIL 17 | EOF 18 | # Include ibrafunc for all the awesome functions 19 | source /opt/ibracorp/ibramenu/ibrafunc.sh 20 | # source /opt/ibracorp/ibramenu/MenuOptions/Submenu Networking/Dockerproxy/Dockerproxy.sh 21 | # Traefik config 22 | 23 | # App Info 24 | app="Traefik" # App Name 25 | title="Traefik" # Readable App Title 26 | image="traefik:latest" # Image and Tag 27 | volumes=" volumes: 28 | - /opt/appdata/\${APP_NAME:?err}:/etc/traefik 29 | - /var/run/docker.sock:/var/run/docker.sock:ro" # Volumes 30 | tp_app="" # Theme Park App Name 31 | porte="8080" # External Port 32 | porti="8080" 33 | porte2="443" # External Port 34 | porti2="443" 35 | porte3="80" # External Port 36 | porti3="80" # Internal Port 37 | extrapayload=" environment: 38 | - CF_DNS_API_TOKEN=$CF_API_TOKEN 39 | - CF_API_EMAIL=${YOUREMAIL} 40 | 41 | " # Extra Payload to add to the Compose add 4 spance to the top group for example environment: and 6 for the childs (if copy and pasting you just need to add the space to the parent). 42 | 43 | # Execute 44 | app 45 | sleep 2 46 | 47 | #create file for certificates 48 | sudo touch /opt/appdata/Traefik/acme.json 49 | sudo chmod 600 /opt/appdata/Traefik/acme.json 50 | 51 | # # Create the config files 52 | 53 | sudo tee <<-EOF >/opt/appdata/Traefik/traefik.yml 54 | global: 55 | checkNewVersion: true 56 | sendAnonymousUsage: false 57 | 58 | serversTransport: 59 | insecureSkipVerify: true 60 | 61 | entryPoints: 62 | # Not used in apps, but redirect everything from HTTP to HTTPS 63 | http: 64 | address: :80 65 | forwardedHeaders: 66 | trustedIPs: &trustedIps 67 | # Start of Clouflare public IP list for HTTP requests, remove this if you don't use it 68 | - 173.245.48.0/20 69 | - 103.21.244.0/22 70 | - 103.22.200.0/22 71 | - 103.31.4.0/22 72 | - 141.101.64.0/18 73 | - 108.162.192.0/18 74 | - 190.93.240.0/20 75 | - 188.114.96.0/20 76 | - 197.234.240.0/22 77 | - 198.41.128.0/17 78 | - 162.158.0.0/15 79 | - 104.16.0.0/12 80 | - 172.64.0.0/13 81 | - 131.0.72.0/22 82 | - 2400:cb00::/32 83 | - 2606:4700::/32 84 | - 2803:f800::/32 85 | - 2405:b500::/32 86 | - 2405:8100::/32 87 | - 2a06:98c0::/29 88 | - 2c0f:f248::/32 89 | # End of Cloudlare public IP list 90 | http: 91 | redirections: 92 | entryPoint: 93 | to: https 94 | scheme: https 95 | 96 | # HTTPS endpoint, with domain wildcard 97 | https: 98 | address: :443 99 | forwardedHeaders: 100 | # Reuse list of Cloudflare Trusted IP's above for HTTPS requests 101 | trustedIPs: *trustedIps 102 | http: 103 | tls: 104 | # Generate a wildcard domain certificate 105 | certResolver: letsencrypt 106 | domains: 107 | - main: ${YOURDOMAIN} 108 | sans: 109 | - '*.${YOURDOMAIN}' 110 | middlewares: 111 | - securityHeaders@file 112 | 113 | providers: 114 | providersThrottleDuration: 2s 115 | 116 | # File provider for connecting things that are outside of docker / defining middleware 117 | file: 118 | filename: /etc/traefik/fileConfig.yml 119 | watch: true 120 | 121 | # Docker provider for connecting all apps that are inside of the docker network 122 | docker: 123 | watch: true 124 | network: ${dockernet} # Add Your Docker Network Name Here 125 | # Default host rule to containername.domain.example 126 | defaultRule: "Host(\`{{ index .Labels \"com.docker.compose.service\"}}.${YOURDOMAIN}\`)" # Make sure to check the guide if it is blank 127 | swarmModeRefreshSeconds: 15s 128 | exposedByDefault: false 129 | #endpoint: "tcp://Dockerproxy:2375" # Uncomment if you are using docker socket proxy 130 | endpoint: "unix:///var/run/docker.sock" # comment if using docker socket proxy 131 | 132 | # Enable traefik ui 133 | api: 134 | dashboard: true 135 | # insecure: true # uncomment if you want to access the dashboard in the local network, make sure you have some type of auth for the reverse proxy 136 | 137 | # Log level INFO|DEBUG|ERROR 138 | log: 139 | level: DEBUG 140 | 141 | # Use cloudflare to generate ssl serficiates 142 | certificatesResolvers: 143 | letsencrypt: 144 | acme: 145 | email: ${YOUREMAIL} 146 | storage: /etc/traefik/acme.json 147 | caServer: https://acme-staging-v02.api.letsencrypt.org/directory # comment this after you are able to get a certificate 148 | #caServer: "https://acme-v02.api.letsencrypt.org/directory" # uncomment this after you are able to get a certificate to use in production 149 | dnsChallenge: 150 | provider: cloudflare 151 | delayBeforeCheck: 60 # comment this after you are able to get a certificate 152 | disablePropagationCheck: true # uncomment this if you have issues pulling certificates through cloudflare, By setting this flag to true disables the need to wait for the propagation of the TXT record to all authoritative name servers. 153 | # Used to make sure the dns challenge is propagated to the rights dns servers 154 | resolvers: 155 | - "1.1.1.1:53" 156 | - "1.0.0.1:53" 157 | EOF 158 | 159 | sudo tee <<-EOF >/opt/appdata/Traefik/fileConfig.yml 160 | http: 161 | 162 | # EXTERNAL ROUTING EXAMPLE - Only use if you want to proxy something manually ##cd .. 163 | routers: 164 | # # Homeassistant routing example - Remove if not used 165 | # homeassistant: 166 | # entryPoints: 167 | # - https 168 | # rule: "Host(\`homeassistant.${YOURDOMAIN}\`)" # make sure to chek the guide if and add your domain if blank 169 | # service: homeassistant 170 | # middlewares: 171 | # - "auth" 172 | 173 | # # api uncomment to reverse proxy the dashboard, this config use authelia 174 | # api: 175 | # entryPoints: 176 | # - https 177 | # rule: "Host(\`traefik.${YOURDOMAIN}\`)" # make sure to chek the guide if and add your domain if blank 178 | # service: api@internal 179 | # middlewares: 180 | # - "auth" 181 | 182 | # ## SERVICES EXAMPLE ## 183 | # services: 184 | # # Homeassistant service example - Remove if not used 185 | # homeassistant: 186 | # loadBalancer: 187 | # servers: 188 | # - url: http://192.168.60.5:8123/ 189 | 190 | ## MIDDLEWARES ## 191 | middlewares: 192 | # Only Allow Local networks 193 | local-ipwhitelist: 194 | ipWhiteList: 195 | sourceRange: 196 | - 127.0.0.1/32 # localhost 197 | - 192.168.1.1/24 # LAN Subnet 198 | 199 | # # Authelia guard 200 | # auth: 201 | # forwardauth: 202 | # address: http://auth:9091/api/verify?rd=https://auth.${YOURDOMAIN}/ # replace auth with your authelia container name 203 | # trustForwardHeader: true 204 | # authResponseHeaders: 205 | # - Remote-User 206 | # - Remote-Groups 207 | # - Remote-Name 208 | # - Remote-Email 209 | 210 | # # Authelia basic auth guard 211 | # auth-basic: 212 | # forwardauth: 213 | # address: http://auth:9091/api/verify?auth=basic # replace auth with your authelia container name 214 | # trustForwardHeader: true 215 | # authResponseHeaders: 216 | # - Remote-User 217 | # - Remote-Groups 218 | # - Remote-Name 219 | # - Remote-Email 220 | 221 | # Security headers 222 | securityHeaders: 223 | headers: 224 | customResponseHeaders: 225 | X-Robots-Tag: "none,noarchive,nosnippet,notranslate,noimageindex" 226 | server: "" 227 | X-Forwarded-Proto: "https" 228 | sslProxyHeaders: 229 | X-Forwarded-Proto: https 230 | referrerPolicy: "strict-origin-when-cross-origin" 231 | hostsProxyHeaders: 232 | - "X-Forwarded-Host" 233 | customRequestHeaders: 234 | X-Forwarded-Proto: "https" 235 | contentTypeNosniff: true 236 | browserXssFilter: true 237 | forceSTSHeader: true 238 | stsIncludeSubdomains: true 239 | stsSeconds: 63072000 240 | stsPreload: true 241 | 242 | # Only use secure ciphers - https://ssl-config.mozilla.org/#server=traefik&version=2.6.0&config=intermediate&guideline=5.6 243 | tls: 244 | options: 245 | default: 246 | minVersion: VersionTLS12 247 | cipherSuites: 248 | - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 249 | - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 250 | - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 251 | - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 252 | - TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305 253 | - TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 254 | EOF 255 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Networking/Uptime Kuma/Uptime Kuma.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Uptime Kuma 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="uptime-kuma" # App Name 14 | title="Uptime Kuma" # Readable App Title 15 | image="louislam/uptime-kuma:1" # Image and Tag 16 | volumes=" volumes: 17 | - ./uptime-kuma-data:/app/data" # Volumes 18 | porte="3001" # External Port 19 | porti="3001" # Internal Port 20 | extrapayload="" # Extra Payload to add to the Compose 21 | 22 | # Execute 23 | app -------------------------------------------------------------------------------- /MenuOptions/Submenu Other/Submenu Games/Submenu Minecraft/Submenu FTB Direwolf20 1.19/Install FTB Direwolf20 1.19/Install FTB Direwolf20 1.19.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Minecraft Direwolf20 1.19 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | ibralogo 13 | msgbox "Installing Minecraft FTB Direwolf20 1.19" 14 | 15 | mkdir -p /opt/appdata/minecraft/direwolf20-1.19 16 | cd /opt/appdata/minecraft/direwolf20-1.19 17 | wget https://api.modpacks.ch/public/modpack/101/2296/server/linux 18 | chmod +x linux 19 | echo "eula=true" > eula.txt 20 | ./linux 101 --auto 21 | 22 | msgbox "Minecraft Direwolf20 1.19 installed" -------------------------------------------------------------------------------- /MenuOptions/Submenu Other/Submenu Games/Submenu Minecraft/Submenu FTB Direwolf20 1.19/Install FTB Direwolf20 1.19/README.md: -------------------------------------------------------------------------------- 1 | **Minecraft Direwolf20 1.19** 2 | 3 | The Minecraft Direwolf20 1.19 server needs 6 GB RAM minimum to run properly. 4 | 5 | For LAN and public game play it is best to give your machine a fixed IP address. 6 | 7 | By continuing you automatically accept the Minecraft EULA. -------------------------------------------------------------------------------- /MenuOptions/Submenu Other/Submenu Games/Submenu Minecraft/Submenu FTB Direwolf20 1.19/Start FTB Direwolf20 1.19/Start FTB Direwolf20 1.19.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Minecraft Direwolf20 1.19 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | ibralogo 13 | 14 | if [ -f "/opt/appdata/minecraft/direwolf20-1.19/start.sh" ] 15 | then 16 | msgbox "Starting Minecraft Direwolf20 1.19" 17 | cd /opt/appdata/minecraft/direwolf20-1.19 18 | ./start.sh 19 | else 20 | msgbox "Minecraft Direwolf20 1.19 is missing, please install" 21 | fi -------------------------------------------------------------------------------- /MenuOptions/Submenu Other/Submenu Manga/Komf/Komf.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Komf 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # Collect komga login email and password 13 | 14 | read -p "Your login email : " email 15 | read -p "Please enter komga password : " passwd 16 | 17 | 18 | # App Info 19 | app="Komf" # App Name 20 | title="Komf" # Readable App Title 21 | image="sndxr/komf:latest" # Image and Tag 22 | volumes=" volumes: 23 | - /opt/appdata/\${APP_NAME:?err}:/config" # Volumes 24 | tp_app="Komf" # Theme Park App Name 25 | porte="8089" # External Port 26 | porti="8085" # Internal Port 27 | extrapayload=" environment: # optional env config 28 | - KOMF_KOMGA_BASE_URI=http://komga:8085 29 | - KOMF_KOMGA_USER=\$email 30 | - KOMF_KOMGA_PASSWORD=\$passwd 31 | - KOMF_LOG_LEVEL=INFO 32 | - KOMF_SERVER_PORT=8089" # Extra Payload to add to the Compose 33 | 34 | 35 | # Execute 36 | app 37 | mkdir -p /opt/appdata/$app && cd /opt/appdata/$app 38 | echo "KOMF_KOMGA_USER=$email" >> /opt/appdata/$app/.env 39 | echo "KOMF_KOMGA_PASSWORD=$passwd" >> /opt/appdata/$app/.env -------------------------------------------------------------------------------- /MenuOptions/Submenu Other/Submenu Manga/Komga/Komga.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Komga 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="Komga" # App Name 14 | title="Komga" # Readable App Title 15 | image="gotson/komga" # Image and Tag 16 | volumes=" volumes: 17 | - /opt/appdata/\${APP_NAME:?err}:/config" # Volumes 18 | tp_app="Komga" # Theme Park App Name 19 | porte="8085" # External Port 20 | porti="25600" # Internal Port 21 | extrapayload="" # Extra Payload to add to the Compose 22 | 23 | 24 | # Execute 25 | app 26 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Security/Authentik/Authentik.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Authentik 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="authentik" # App Name 14 | title="Authentik" # Readable App Title 15 | 16 | # Parameters 17 | parameters () { 18 | msgbox "Setting Parameters for Your Setup" 19 | tee <<-EOF 20 | We will now automatically install your Authentik Solution. 21 | You will be asked the following questions: 22 | Your Domain like "yourdomain.com" 23 | Please enter all parameters without any "". 24 | EOF 25 | read -p "Your Domain : " domain 26 | } 27 | 28 | # Authentik Environment 29 | authentik_env () { 30 | msgbox "Generating secure Passwords and setting up Environment..." 31 | mkdir -p /opt/appdata/authentik && cd /opt/appdata/authentik 32 | msgbox "Making backups of .env and compose.yaml (if exist)" 33 | if [ -f ".env" ] 34 | then 35 | mv .env .env.bak 36 | fi 37 | if [ -f "compose.yaml" ] 38 | then 39 | mv compose.yaml compose.yaml.bak 40 | fi 41 | apt-get install -y pwgen 42 | echo "PG_PASS=$(pwgen -s 40 1)" >> .env 43 | echo "AUTHENTIK_SECRET_KEY=$(pwgen -s 50 1)" >> .env 44 | echo "AUTHENTIK_ERROR_REPORTING__ENABLED=true" >> .env 45 | echo AUTHENTIK_PORT_HTTP=9000 >> .env 46 | echo AUTHENTIK_PORT_HTTPS=9443 >> .env 47 | } 48 | 49 | # App 50 | local_appcreate () { 51 | msgbox "Installing $title..." 52 | tee <<-EOF > compose.yaml 53 | services: 54 | postgresql: 55 | image: postgres:12-alpine 56 | restart: unless-stopped 57 | security_opt: 58 | - apparmor:unconfined 59 | container_name: authentik-postgres 60 | healthcheck: 61 | test: ["CMD-SHELL", "pg_isready -d \$\${POSTGRES_DB} -U \$\${POSTGRES_USER}"] 62 | start_period: 20s 63 | interval: 30s 64 | retries: 5 65 | timeout: 5s 66 | volumes: 67 | - database:/var/lib/postgresql/data 68 | environment: 69 | - POSTGRES_PASSWORD=\${PG_PASS} 70 | - POSTGRES_USER=\${PG_USER:-authentik} 71 | - POSTGRES_DB=\${PG_DB:-authentik} 72 | env_file: 73 | - .env 74 | networks: 75 | - $dockernet 76 | redis: 77 | image: redis:alpine 78 | restart: unless-stopped 79 | security_opt: 80 | - apparmor:unconfined 81 | container_name: authentik-redis 82 | healthcheck: 83 | test: ["CMD-SHELL", "redis-cli ping | grep PONG"] 84 | start_period: 20s 85 | interval: 30s 86 | retries: 5 87 | timeout: 3s 88 | networks: 89 | - $dockernet 90 | server: 91 | image: \${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:\${AUTHENTIK_TAG:-2022.7.2} 92 | restart: unless-stopped 93 | security_opt: 94 | - apparmor:unconfined 95 | container_name: authentik-server 96 | command: server 97 | environment: 98 | AUTHENTIK_REDIS__HOST: authentik-redis 99 | AUTHENTIK_POSTGRESQL__HOST: authentik-postgres 100 | AUTHENTIK_POSTGRESQL__USER: \${PG_USER:-authentik} 101 | AUTHENTIK_POSTGRESQL__NAME: \${PG_DB:-authentik} 102 | AUTHENTIK_POSTGRESQL__PASSWORD: \${PG_PASS} 103 | volumes: 104 | - ./media:/media 105 | - ./custom-templates:/templates 106 | - geoip:/geoip 107 | env_file: 108 | - .env 109 | ports: 110 | - "0.0.0.0:${AUTHENTIK_PORT_HTTP:-9000}:9000" 111 | - "0.0.0.0:${AUTHENTIK_PORT_HTTPS:-9443}:9443" 112 | networks: 113 | - $dockernet 114 | labels: 115 | traefik.enable: true 116 | traefik.http.routers.authentik.entryPoints: https 117 | traefik.http.routers.authentik.rule: Host(\`auth.$domain\`) || HostRegexp(\`{subdomain:[a-z0-9]+}.$domain\`) && PathPrefix(\`/outpost.goauthentik.io/\`) 118 | worker: 119 | image: \${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:\${AUTHENTIK_TAG:-2022.7.2} 120 | restart: unless-stopped 121 | security_opt: 122 | - apparmor:unconfined 123 | container_name: authentik-worker 124 | command: worker 125 | environment: 126 | AUTHENTIK_REDIS__HOST: authentik-redis 127 | AUTHENTIK_POSTGRESQL__HOST: authentik-postgres 128 | AUTHENTIK_POSTGRESQL__USER: \${PG_USER:-authentik} 129 | AUTHENTIK_POSTGRESQL__NAME: \${PG_DB:-authentik} 130 | AUTHENTIK_POSTGRESQL__PASSWORD: \${PG_PASS} 131 | user: root 132 | volumes: 133 | - ./media:/media 134 | - ./certs:/certs 135 | - /var/run/docker.sock:/var/run/docker.sock 136 | - ./custom-templates:/templates 137 | - geoip:/geoip 138 | env_file: 139 | - .env 140 | networks: 141 | - $dockernet 142 | # geoipupdate: 143 | # image: "maxmindinc/geoipupdate:latest" 144 | # container_name: authentik-geoip 145 | # security_opt: 146 | # - apparmor:unconfined 147 | # volumes: 148 | # - "geoip:/usr/share/GeoIP" 149 | # environment: 150 | # GEOIPUPDATE_EDITION_IDS: "GeoLite2-City" 151 | # GEOIPUPDATE_FREQUENCY: "8" 152 | # env_file: 153 | # - .env 154 | # networks: 155 | # - $dockernet 156 | volumes: 157 | database: 158 | driver: local 159 | geoip: 160 | driver: local 161 | networks: 162 | $dockernet: 163 | driver: bridge 164 | external: true 165 | EOF 166 | docker compose up -d --force-recreate 167 | } 168 | 169 | # List Links 170 | local_appfinalization () { 171 | ibralogo 172 | msgbox "All Done! Here is the link to $title:" 173 | echo 174 | ip=$(hostname -I | awk '{print $1}') 175 | echo "Authentik: http://$ip:9000/if/flow/initial-setup/" 176 | echo "It will take a few seconds for the database to initialize and all containers to run..." 177 | echo 178 | } 179 | 180 | # Execute 181 | 182 | parameters 183 | authentik_env 184 | local_appcreate 185 | local_appfinalization -------------------------------------------------------------------------------- /MenuOptions/Submenu Security/Clamav/Clamav.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Komga 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="Clamav" # App Name 14 | title="Clamav" # Readable App Title 15 | image="clamav/clamav" # Image and Tag 16 | volumes=" volumes: 17 | - /opt/appdata/\${APP_NAME:?err}:/config" # Volumes 18 | tp_app="Clamav" # Theme Park App Name 19 | porte="3310" # External Port 20 | porti="3310" # Internal Port 21 | extrapayload="" # Extra Payload to add to the Compose 22 | 23 | 24 | # Execute 25 | app -------------------------------------------------------------------------------- /MenuOptions/Submenu Security/Vaultwarden/Vaultwarden.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Vaultwarden 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | admintoken=$(openssl rand -base64 48) 12 | 13 | # App Info 14 | app="vaultwarden" # App Name 15 | title="Vaultwarden" # Readable App Title 16 | image="vaultwarden/server:latest" # Image and Tag 17 | volumes=" volumes: 18 | - /opt/appdata/\${APP_NAME:?err}:/data" # Volumes 19 | tp_app="" # Theme Park App Name 20 | porte="4743" # External Port 21 | porti="80" # Internal Port 22 | extrapayload=" environment: 23 | - WEBSOCKET_ENABLED=true # Enable WebSocket notifications. 24 | - ADMIN_TOKEN=$admintoken 25 | " # Extra Payload to add to the Compose add 4 spance to the top group for example environment: and 6 for the childs (if copy and pasting you just need to add the space to the parent). 26 | 27 | 28 | # Execute 29 | app 30 | 31 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Tools/Code-Server/Code-Server.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Code-Server 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="code-server" # App Name 14 | title="Code Server" # Readable App Title 15 | image="lscr.io/linuxserver/code-server:latest" # Image and Tag 16 | volumes=" volumes: 17 | - /opt/appdata/\${APP_NAME:?err}:/config 18 | - /opt:/opt" # Volumes 19 | tp_app="" # Theme Park App Name 20 | porte="8443" # External Port 21 | porti="8443" # Internal Port 22 | extrapayload=" environment: 23 | - PUID=0 24 | - PGID=0" # Extra Payload to add to the Compose 25 | 26 | # Execute 27 | app 28 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Tools/Dashy/Dashy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Dashy 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="dashy" # App Name 14 | title="Dashy" # Readable App Title 15 | image="lissy93/dashy:latest" # Image and Tag 16 | volumes=" volumes: 17 | - ./conf.yml:/app/public/conf.yml" # Volumes 18 | porte="8087" # External Port 19 | porti="80" # Internal Port 20 | extrapayload="" # Extra Payload to add to the Compose 21 | 22 | # Execute 23 | mkdir -p /opt/appdata/dashy 24 | touch /opt/appdata/dashy/conf.yml 25 | app -------------------------------------------------------------------------------- /MenuOptions/Submenu Tools/Dozzle/Dozzle.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Dozzle 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="dozzle" # App Name 14 | title="Dozzle" # Readable App Title 15 | image="amir20/dozzle:latest" # Image and Tag 16 | volumes=" volumes: 17 | - /var/run/docker.sock:/var/run/docker.sock" # Volumes 18 | porte="9999" # External Port 19 | porti="8080" # Internal Port 20 | extrapayload="" # Extra Payload to add to the Compose 21 | 22 | # Execute 23 | app -------------------------------------------------------------------------------- /MenuOptions/Submenu Tools/FreshRSS/FreshRSS.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Komga 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="FreshRSS" # App Name 14 | title="FreshRSS" # Readable App Title 15 | image="lscr.io/linuxserver/freshrss:latest" # Image and Tag 16 | volumes=" volumes: 17 | - /opt/appdata/\${APP_NAME:?err}:/config" # Volumes 18 | tp_app="Plex" # Theme Park App Name 19 | porte="8040" # External Port 20 | porti="80" # Internal Port 21 | extrapayload="" # Extra Payload to add to the Compose 22 | 23 | # Execute 24 | app 25 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Tools/Homarr/Homarr.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Homarr 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="homarr" # App Name 14 | title="Homarr" # Readable App Title 15 | image="ghcr.io/ajnart/homarr:latest" # Image and Tag 16 | volumes=" volumes: 17 | - ./homarr/configs:/app/data/configs 18 | - /var/run/docker.sock:/var/run/docker.sock:ro" # Volumes 19 | porte="7575" # External Port 20 | porti="7575" # Internal Port 21 | extrapayload="" # Extra Payload to add to the Compose 22 | 23 | # Execute 24 | app -------------------------------------------------------------------------------- /MenuOptions/Submenu Tools/Linkwarden/Linkwarden.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Linkwarden 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | read -p "Enter postgres password : " YOUR_POSTGRES_PASSWORD 10 | read -p "Enter NEXTAUTH secret : " VERY_SENSITIVE_SECRET 11 | sudo mkdir -p /opt/appdata/Linkwarden 12 | 13 | # Include ibrafunc for all the awesome functions 14 | source /opt/ibracorp/ibramenu/ibrafunc.sh 15 | # source /opt/ibracorp/ibramenu/MenuOptions/Submenu Networking/Dockerproxy/Dockerproxy.sh 16 | # Linkwarden config 17 | 18 | # App Info 19 | app="Linkwarden" # App Name 20 | title="linkwarden" # Readable App Title 21 | image="ghcr.io/linkwarden/linkwarden:latest" # Image and Tag 22 | volumes=" volumes: 23 | - ./data:/data/data" # Volumes 24 | tp_app="" # Theme Park App Name 25 | porte="8099" # External Port 26 | porti="3000" 27 | extrapayload=" environment: 28 | - DATABASE_URL=postgresql://postgres:\${POSTGRES_PASSWORD}@postgres:5432/postgres 29 | 30 | " # Extra Payload to add to the Compose add 4 spance to the top group for example environment: and 6 for the childs (if copy and pasting you just need to add the space to the parent). 31 | 32 | appcreate_local() { 33 | msgbox "Installing $title..." 34 | mkdir -p /opt/appdata/$app && cd /opt/appdata/$app 35 | rm compose.yaml 36 | tee <<-EOF >.env 37 | APP_NAME=$app 38 | IMAGE=$image 39 | TP_APP=$tp_app 40 | PORTE=$porte 41 | PORTI=$porti 42 | NEXTAUTH_URL=http://localhost:3000 43 | POSTGRES_PASSWORD=$YOUR_POSTGRES_PASSWORD 44 | NEXTAUTH_SECRET=${VERY_SENSITIVE_SECRET} 45 | EOF 46 | tee <<-EOF >compose.yaml 47 | services: 48 | postgres: 49 | image: postgres 50 | env_file: .env 51 | restart: always 52 | volumes: 53 | - ./pgdata:/var/lib/postgresql/data 54 | linkwarden: 55 | image: \${IMAGE:?err} 56 | depends_on: 57 | - postgres 58 | env_file: 59 | - /opt/appdata/$app/.env 60 | - /opt/appdata/.id.env 61 | - /opt/appdata/.timezone.env 62 | EOF 63 | if [ ! -z "$tp_app" ]; then 64 | echo " - /opt/appdata/.themepark.env" >>compose.yaml 65 | fi 66 | if [ ! -z "$volumes" ]; then 67 | echo "$volumes" >>compose.yaml 68 | fi 69 | if [ ! -z "$porti" ]; then 70 | tee <<-EOF >>compose.yaml 71 | ports: 72 | - \${PORTE:?err}:\${PORTI:?err} 73 | EOF 74 | fi 75 | 76 | tee <<-EOF >>compose.yaml 77 | networks: 78 | - $dockernet 79 | restart: unless-stopped 80 | security_opt: 81 | - apparmor:unconfined 82 | $extrapayload 83 | networks: 84 | $dockernet: 85 | driver: bridge 86 | external: true 87 | EOF 88 | docker compose up -d --force-recreate 89 | } 90 | 91 | # Execute 92 | appcreate_local 93 | sleep 2 94 | 95 | # # Create the config files 96 | -------------------------------------------------------------------------------- /MenuOptions/Submenu Tools/Organizr/Organizr.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : Install Organizr 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # Include ibrafunc for all the awesome functions 10 | source /opt/ibracorp/ibramenu/ibrafunc.sh 11 | 12 | # App Info 13 | app="organizr" # App Name 14 | title="Organizr" # Readable App Title 15 | image="ghcr.io/organizr/organizr" # Image and Tag 16 | volumes=" volumes: 17 | - /opt/appdata/organizr:/config" # Volumes 18 | porte="8082" # External Port 19 | porti="80" # Internal Port 20 | extrapayload="" # Extra Payload to add to the Compose 21 | 22 | # Execute 23 | app -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # IBRAMENU 4 | 5 | [![Feedback](https://img.shields.io/badge/IBRAMENU-Feedback-brightgreen?style=plastic)](https://feedback.ibracorp.io/ibramenu) 6 | [![Ubuntu](https://img.shields.io/badge/Works%20best%20with-Ubuntu-E95420?style=plastic&logo=ubuntu&logoColor=white)](https://ubuntu.com) 7 | [![IBRADOCS](https://img.shields.io/badge/IBRA-Docs-blue?style=plastic)](https://docs.ibracorp.io) 8 | 9 | This README is a work in progress and awaiting other tasks before being completed. 10 | The actual documentation page below has all the information to help you get started with IBRAMENU. 11 | 12 | ## HOW TO INSTALL 13 | 14 | ### As root user 15 | 16 | ```bash 17 | wget -qO ./i https://raw.githubusercontent.com/ibracorp/ibramenu/main/ibrainit.sh &&\ 18 | chmod +x i &&\ 19 | ./i 20 | ``` 21 | 22 | ### As non root user 23 | 24 | ``` bash 25 | sudo wget -qO ./i https://raw.githubusercontent.com/ibracorp/ibramenu/main/ibrainit.sh &&\ 26 | sudo chmod +x i &&\ 27 | sudo ./i 28 | ``` 29 | 30 | ### From a non supported OS like unraid 31 | 32 | This is not supported and a WIP. Run the following commands. 33 | 34 | ```bash 35 | git clone -b main --single-branch https://github.com/ibracorp/ibramenu.git 36 | cd ibramenu 37 | docker compose up -d --build --force-recreate 38 | ``` 39 | 40 | ### Access the container 41 | 42 | To generate the docker compose file for your apps you need to run ibramenu from within the container, run the following command. 43 | 44 | ```bash 45 | docker run -it ibramenu /bin/bash 46 | ``` 47 | 48 | ### Compose File Example 49 | 50 | Change the `/opt/appdata` to the location that you want your docker files to be generated to. 51 | 52 | ```yaml 53 | --- 54 | services: 55 | ibramenu: 56 | image: ibramenu:v0.0.0-1alpha 57 | container_name: ibramenu 58 | environment: 59 | - PUID=1000 60 | - PGID=1000 61 | - TZ=Etc/EST 62 | volumes: 63 | - /opt/appdata:/opt/appdata 64 | - /var/run/docker.sock:/var/run/docker.sock 65 | restart: unless-stopped 66 | ``` 67 | #### Open Ibramenu inside the container 68 | - Run the following command to open and shell 69 | 70 | ```sh 71 | docker exec -it ibramenu bash 72 | ``` 73 | - In the shell that opens run the following command to start ibramenu 74 | 75 | ```sh 76 | ibramenu 77 | ``` 78 | 79 | 80 | 81 | 82 | [![Install](https://img.shields.io/badge/Install-IBRAMENU-brightgreen?style=plastic)](https://docs.ibracorp.io/ibramenu) 83 | Make requests here: 84 | 85 | **Want to Support Us and Get Perks?**
86 | [![Supporter](https://img.shields.io/badge/Become%20a-Supporter-brightgreen?style=plastic)](https://ibramenu.io/store/) 87 | 88 | **Join us on Discord**
89 | [![Discord](https://img.shields.io/discord/595508571135803403?label=Discord&logo=Discord&style=plastic)](https://i.ibracorp.io/discord) 90 | -------------------------------------------------------------------------------- /compose-dev.yaml: -------------------------------------------------------------------------------- 1 | # This is a example Docker Compose file for the ibramenu service. 2 | # It defines the configuration to build and run the ibramenu container. 3 | --- 4 | services: 5 | ibramenu: 6 | build: 7 | context: . # The dot "." means the current directory will be used as the build context 8 | dockerfile: Dockerfile-dev 9 | container_name: ibramenu-dev 10 | environment: 11 | - TZ=Etc/EST 12 | volumes: 13 | - /opt/appdata:/opt/appdata 14 | - /var/run/docker.sock:/var/run/docker.sock 15 | - .:/opt/ibracorp/ibramenu 16 | restart: unless-stopped 17 | -------------------------------------------------------------------------------- /compose.yaml: -------------------------------------------------------------------------------- 1 | # This is a example Docker Compose file for the ibramenu service. 2 | # It defines the configuration to build and run the ibramenu container. 3 | --- 4 | services: 5 | ibramenu: 6 | build: . # The dot "." means the current directory will be used as the build context 7 | container_name: ibramenu 8 | environment: 9 | - PUID=1000 10 | - PGID=1000 11 | - TZ=Etc/EST 12 | volumes: 13 | # - /opt/appdata:/opt/appdata # Map this volume to where you want to store your docker compose files. 14 | - /var/run/docker.sock:/var/run/docker.sock 15 | restart: unless-stopped 16 | -------------------------------------------------------------------------------- /ibrafunc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ###################################################################### 3 | # Title : IBRAFUNC - IBRAMENU functions 4 | # By : DiscDuck, Taos15 5 | # License : General Public License GPL-3.0-or-later 6 | # Another fine product brought to you by IBRACORP™ 7 | ###################################################################### 8 | 9 | # functions 10 | 11 | # profile file 12 | source /opt/ibracorp/ibramenu/.profile 13 | source /opt/appdata/.traefik.env 14 | # message box 15 | msgbox() { 16 | # function expects a message and optional parameters 17 | # msgbox 18 | # If the box parameters are not given the full width will be used and = for horizontal and | for vertical character 19 | 20 | # checking if message is specified 21 | if [[ -z $1 ]]; then 22 | message="Your message could be here" 23 | else 24 | message=$1 25 | fi 26 | # checking if message box width is specified 27 | if [[ -z $2 ]]; then 28 | box_width=$(tput cols) 29 | else 30 | box_width=$2 31 | fi 32 | # checking if horizontal character is specified 33 | if [[ -z $3 ]]; then 34 | box_hor="=" 35 | else 36 | box_hor=$3 37 | fi 38 | # checking if vertical charater is specified 39 | if [[ -z $4 ]]; then 40 | box_vert="|" 41 | else 42 | box_vert=$4 43 | fi 44 | # calculating message box parameters 45 | msg_length=${#message} 46 | msg_half=$(($msg_length / 2)) 47 | msg_start=$(((($box_width - 2) / 2) - $msg_half)) 48 | msg_fill_left=$(($msg_start)) 49 | msg_fill_right=$((($box_width - 2) - $msg_start - $msg_length)) 50 | # generating strings for box 51 | box_outline_hor=$(printf %"$box_width"s | tr ' ' "$box_hor") 52 | msg_space_left=$(printf %"$msg_fill_left"s) 53 | msg_space_right=$(printf %"$msg_fill_right"s) 54 | # output 55 | echo 56 | echo $box_outline_hor 57 | echo "$box_vert$msg_space_left$message$msg_space_right$box_vert" 58 | echo $box_outline_hor 59 | echo 60 | } 61 | 62 | # ibracorp logo 63 | ibralogo() { 64 | version=$(cat "/opt/ibracorp/ibramenu/version") 65 | tput clear 66 | tput bold 67 | tput setaf 1 68 | tee <<-EOF 69 | ___ ____ ____ _ ____ ___ ____ ____ ™ 70 | |_ _| __ )| _ \ / \ / ___/ _ \| _ \| _ \ 71 | | || _ \| |_) | / _ \| | | | | | |_) | |_) | 72 | | || |_) | _ < / ___ \ |__| |_| | _ <| __/ Public 73 | |___|____/|_| \_\/_/ \_\____\___/|_| \_\_| Version $version 74 | 75 | $(lsb_release -sd) | CPU Threads: $(lscpu | grep "CPU(s):" | tail +1 | head -1 | awk '{print $2}') | IP: $(hostname -I | awk '{print $1}') | RAM: $(free -m | grep Mem | awk 'NR=1 {print $2}') MB 76 | Become a Member and sponsor us: https://ibracorp.io/memberships 77 | EOF 78 | tput sgr0 79 | } 80 | 81 | # disclaimer 82 | disclaimer() { 83 | ibralogo 84 | 85 | if [ -f "/opt/ibracorp/IBRADISCLAIMER" ]; then 86 | if grep -q "IBRADISCLAIMER=accepted" "/opt/ibracorp/IBRADISCLAIMER"; then 87 | : 88 | # Has already been accepted 89 | else 90 | rm "/opt/ibracorp/IBRADISCLAIMER" 91 | exit 92 | fi 93 | else 94 | tee <<-EOF 95 | Please take a moment and read our IBRACORP Disclaimer: 96 | https://docs.ibracorp.io/ibracorp/ 97 | EOF 98 | read -p "Do you accept our Disclaimer? y/N: " accept 99 | 100 | case "$accept" in 101 | [yY]) 102 | echo "Thank you for accepting the IBRACORP Disclaimer." 103 | echo 104 | stamp=$(date) 105 | tee <<-EOF >/opt/ibracorp/IBRADISCLAIMER 106 | IBRADISCLAIMER=accepted 107 | $stamp 108 | EOF 109 | ;; 110 | *) 111 | echo "IBRACROP Disclaimer has not been accepted. Exiting..." 112 | echo 113 | exit 0 114 | ;; 115 | esac 116 | fi 117 | } 118 | 119 | environment_check() { 120 | # Check for environment files or otherwise create them with defaults 121 | if [ ! -d "/opt/appdata" ]; then 122 | mkdir -p /opt/appdata 123 | fi 124 | # Timezone 125 | if [ ! -f "/opt/appdata/.timezone.env" ]; then 126 | echo "TZ=UTC" >"/opt/appdata/.timezone.env" 127 | fi 128 | # PUID and PGID 129 | if [ ! -f "/opt/appdata/.id.env" ]; then 130 | echo "PUID=1000" >"/opt/appdata/.id.env" 131 | echo "PGID=1000" >>"/opt/appdata/.id.env" 132 | fi 133 | # traefik environment 134 | if [ ! -f "/opt/appdata/.traefik.env" ]; then 135 | echo " " >"/opt/appdata/.traefik.env" 136 | fi 137 | # theme.park 138 | if [ ! -f "/opt/appdata/.themepark.env" ]; then 139 | echo "DOCKER_MODS=ghcr.io/gilbn/theme.park:\${TP_APP}" >"/opt/appdata/.themepark.env" 140 | echo "TP_THEME=plex" >>"/opt/appdata/.themepark.env" 141 | fi 142 | } 143 | 144 | # launch docker compose container 145 | launchdocker() { 146 | target_folder=$1 147 | if [ ! -d $target_folder ]; then 148 | mkdir -p "$target_folder" 149 | fi 150 | cp -R * "$target_folder" 151 | docker compose -f "$target_folder/compose.yaml" up -d 152 | } 153 | 154 | # display README.md 155 | readme() { 156 | if [ -f "README.md" ]; then 157 | mdless -P "README.md" 158 | read -p "Do you want to continue (y)? " -n 1 -r 159 | if [[ $REPLY =~ ^[Yy]$ ]]; then 160 | return 161 | else 162 | return 1 163 | fi 164 | fi 165 | } 166 | 167 | # check if ibramenu is up-to-date 168 | checkupdate() { 169 | version=$(cat "/opt/ibracorp/ibramenu/version") 170 | current=$(curl -s https://raw.githubusercontent.com/ibracorp/ibramenu/main/version) 171 | if [ ! $version = $current ]; then 172 | msgbox "You IBRAMENU is not up-to-date. Use 'ibraupdate' to update." 173 | fi 174 | } 175 | 176 | # IBRACORP motd 177 | ibramotd() { 178 | chmod -x /etc/update-motd.d/* 179 | tee <<-'EOF' >/etc/update-motd.d/01-ibracorp 180 | #!/bin/bash 181 | ###################################################################### 182 | # Title : IBRACORP MOTD 183 | # By : DiscDuck, Taos15 184 | # License : General Public License GPL-3.0-or-later 185 | # Another fine product brought to you by IBRACORP ^d 186 | ###################################################################### 187 | tee <<-EOF 188 | ___ ____ ____ _ ____ ___ ____ ____ (tm) 189 | |_ _| __ )| _ \ / \ / ___/ _ \| _ \| _ \ 190 | | || _ \| |_) | / _ \| | | | | | |_) | |_) | 191 | | || |_) | _ < / ___ \ |__| |_| | _ <| __/ 192 | |___|____/|_| \_\/_/ \_\____\___/|_| \_\_| 193 | $(lsb_release -sd) | CPU Threads: $(lscpu | grep "CPU(s):" | tail +1 | head -1 | awk '{print $2}') | IP: $(hostname -I | awk '{print $1}') | RAM: $(free -m | grep Mem | awk 'NR=1 {print $2}') MB 194 | Become a Member and sponsor us: https://ibracorp.io/memberships 195 | Type 'ibramenu' to launch IBRAMENU. 196 | EOF 197 | echo "EOF" >>/etc/update-motd.d/01-ibracorp 198 | chmod +x /etc/update-motd.d/01-ibracorp 199 | } 200 | 201 | # App Greetings 202 | appgreetings() { 203 | ibralogo 204 | msgbox "$title Installer" 205 | } 206 | 207 | # App 208 | appcreate() { 209 | msgbox "Installing $title..." 210 | mkdir -p /opt/appdata/$app && cd /opt/appdata/$app 211 | tee <<-EOF >.env 212 | APP_NAME=$app 213 | IMAGE=$image 214 | TP_APP=$tp_app 215 | PORTE=$porte 216 | PORTI=$porti 217 | PORTE2=$porte2 218 | PORTI2=$porti2 219 | PORTE3=$porte3 220 | PORTI3=$porti3 221 | EOF 222 | tee <<-EOF >compose.yaml 223 | services: 224 | service-name: 225 | image: \${IMAGE:?err} 226 | container_name: \${APP_NAME:?err} 227 | env_file: 228 | - /opt/appdata/.id.env 229 | - /opt/appdata/.timezone.env 230 | - /opt/appdata/.traefik.env 231 | EOF 232 | if [ ! -z "$tp_app" ]; then 233 | echo " - /opt/appdata/.themepark.env" >>compose.yaml 234 | fi 235 | if [ ! -z "$volumes" ]; then 236 | echo "$volumes" >>compose.yaml 237 | fi 238 | if [ ! -z "$porti" ]; then 239 | tee <<-EOF >>compose.yaml 240 | ports: 241 | - \${PORTE:?err}:\${PORTI:?err} 242 | EOF 243 | fi 244 | if [ ! -z "$porti2" ]; then 245 | tee <<-EOF >>compose.yaml 246 | - \${PORTE2:?err}:\${PORTI2:?err} 247 | EOF 248 | fi 249 | if [ ! -z "$porti3" ]; then 250 | tee <<-EOF >>compose.yaml 251 | - \${PORTE3:?err}:\${PORTI3:?err} 252 | EOF 253 | fi 254 | 255 | tee <<-EOF >>compose.yaml 256 | networks: 257 | - $dockernet 258 | restart: unless-stopped 259 | security_opt: 260 | - apparmor:unconfined 261 | $extrapayload 262 | networks: 263 | $dockernet: 264 | driver: bridge 265 | external: true 266 | EOF 267 | docker compose up -d --force-recreate 268 | } 269 | 270 | # List Links 271 | appfinalization() { 272 | check_ibradashy 273 | ibralogo 274 | msgbox "All Done! Here is the link to $title:" 275 | echo 276 | ip=$(hostname -I | awk '{print $1}') 277 | echo "$title: http://$ip:$porte/" 278 | ibradashy 279 | msgbox "You can also find $title on your IBRACORP Dashy website:" 280 | echo "http://$ip:8086" 281 | echo 282 | } 283 | 284 | # App Complete 285 | app() { 286 | appgreetings 287 | appcreate 288 | appfinalization 289 | } 290 | 291 | # IBRACORP Dashy 292 | ibradashy() { 293 | if ! grep "^ - title: $title$" "/opt/appdata/ibradashy/conf.yml" >/dev/null 2>&1; then 294 | position=$(expr $(grep -n "name: IBRAMENU" /opt/appdata/ibradashy/conf.yml | grep -Eo '^[^:]+') + 3) 295 | sed -i "$position i \ - title: $title\\ 296 | description: Click to launch $title\\ 297 | icon: favicon\\ 298 | url: http://$ip:$porte" /opt/appdata/ibradashy/conf.yml 299 | docker compose -f /opt/appdata/ibradashy/compose.yaml up -d --force-recreate >/dev/null 2>&1 300 | fi 301 | } 302 | 303 | # Check IBRACORP Dashy 304 | check_ibradashy() { 305 | if [ ! -d "/opt/appdata/ibradashy" ]; then 306 | mkdir -p "/opt/appdata/ibradashy" 307 | fi 308 | if [ ! -f "/opt/appdata/ibradashy/.env" ]; then 309 | tee <<-EOF >"/opt/appdata/ibradashy/.env" 310 | APP_NAME=ibradashy 311 | IMAGE=lissy93/dashy:latest 312 | TP_APP= 313 | PORTE=8086 314 | PORTI=80 315 | EOF 316 | fi 317 | if [ ! -f "/opt/appdata/ibradashy/conf.yml" ]; then 318 | tee <<-EOF >"/opt/appdata/ibradashy/conf.yml" 319 | pageInfo: 320 | title: IBRACORP 321 | sections: 322 | - name: IBRAMENU 323 | icon: far fa-rocket 324 | items: 325 | # IBRAMENU added 326 | displayData: 327 | sortBy: alphabetical 328 | rows: 1 329 | cols: 1 330 | collapsed: false 331 | hideForGuests: false 332 | - name: Information 333 | displayData: 334 | sortBy: alphabetical 335 | rows: 1 336 | cols: 1 337 | collapsed: false 338 | hideForGuests: false 339 | widgets: 340 | - type: image 341 | options: 342 | imagePath: https://ibramenu.io/wp-content/uploads/2022/08/ibramenu_concept._logo_crop-300x140.png 343 | items: 344 | - title: IBRAMENU 345 | description: Website 346 | icon: https://ibracorp.io/favicon.ico 347 | url: https://ibramenu.io 348 | - title: IBRACORP 349 | description: Main Website 350 | icon: favicon 351 | url: https://ibracorp.io 352 | - title: GitHub 353 | description: IBRAMENU on GitHub 354 | icon: favicon 355 | url: https://github.com/ibracorp/ibramenu 356 | - title: Feedback 357 | description: IBRAMENU Feedback and Voting 358 | icon: https://ibracorp.io/favicon.ico 359 | url: https://feedback.ibracorp.io/ibramenu 360 | - name: Services 361 | displayData: 362 | sortBy: default 363 | rows: 1 364 | cols: 1 365 | collapsed: false 366 | hideForGuests: false 367 | widgets: 368 | - type: iframe 369 | options: 370 | url: https://i.ibracorp.io/services 371 | frameHeight: 440 372 | appConfig: 373 | theme: Oblivion 374 | language: en 375 | layout: auto 376 | iconSize: large 377 | EOF 378 | fi 379 | if [ ! -f "/opt/appdata/ibradashy/compose.yaml" ]; then 380 | tee <<-EOF >"/opt/appdata/ibradashy/compose.yaml" 381 | services: 382 | service-name: 383 | image: \${IMAGE:?err} 384 | container_name: \${APP_NAME:?err} 385 | env_file: 386 | - /opt/appdata/.id.env 387 | - /opt/appdata/.timezone.env 388 | volumes: 389 | - ./conf.yml:/app/public/conf.yml 390 | ports: 391 | - \${PORTE:?err}:\${PORTI:?err} 392 | networks: 393 | - $dockernet 394 | restart: unless-stopped 395 | security_opt: 396 | - apparmor:unconfined 397 | 398 | networks: 399 | $dockernet: 400 | driver: bridge 401 | external: true 402 | EOF 403 | fi 404 | if [ ! $(docker ps | grep ibradashy) ]; then 405 | msgbox "Installing/Updating IBRADASHY" 406 | docker compose -f /opt/appdata/ibradashy/compose.yaml up -d --force-recreate >/dev/null 2>&1 407 | fi 408 | } 409 | -------------------------------------------------------------------------------- /ibrainit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ###################################################################### 4 | # Title : Beachhead - Initial Installer for IBRAMENU 5 | # By : DiscDuck, Taos15 6 | # License : General Public License GPL-3.0-or-later 7 | # Another fine product brought to you by IBRACORP™ 8 | ###################################################################### 9 | 10 | # IBRACORP logo 11 | ibralogo () { 12 | tput clear 13 | tput bold 14 | tput setaf 1 15 | tee <<-EOF 16 | ___ ____ ____ _ ____ ___ ____ ____ ™ 17 | |_ _| __ )| _ \ / \ / ___/ _ \| _ \| _ \ 18 | | || _ \| |_) | / _ \| | | | | | |_) | |_) | 19 | | || |_) | _ < / ___ \ |__| |_| | _ <| __/ 20 | |___|____/|_| \_\/_/ \_\____\___/|_| \_\_| 21 | 22 | IBRAINSTALL - Installer for IBRAMENU 23 | Become a Member and sponsor us: https://ibracorp.io/memberships 24 | EOF 25 | tput sgr0 26 | } 27 | 28 | disclaimer () { 29 | ibralogo 30 | tee <<-EOF 31 | 32 | Thank you for installing IBRAMENU! 33 | 34 | Please take a moment and read our IBRACORP Disclaimer: 35 | https://docs.ibracorp.io/ibracorp/ 36 | 37 | EOF 38 | read -p "Press Enter to continue" 39 | } 40 | 41 | # Checklist 42 | checklist () { 43 | ibralogo 44 | tee <<-EOF 45 | 46 | Your System: 47 | 48 | CPU Threads: $(lscpu | grep "CPU(s):" | tail +1 | head -1 | awk '{print $2}') 49 | IP: $(hostname -I | awk '{print $1}') 50 | RAM: $(free -m | grep Mem | awk 'NR=1 {print $2}') MB 51 | 52 | EOF 53 | 54 | # Check linux distribution 55 | if [ -f /etc/os-release ]; then 56 | . /etc/os-release 57 | dist=$NAME 58 | release=$VERSION_ID 59 | elif type lsb_release >/dev/null 2>&1; then 60 | dist=$(lsb_release -si) 61 | release=$(lsb_release -sr) 62 | elif [ -f /etc/lsb-release ]; then 63 | . /etc/lsb-release 64 | dist=$DISTRIB_ID 65 | release=$DISTRIB_RELEASE 66 | elif [ -f /etc/debian_version ]; then 67 | dist=Debian 68 | release=$(cat /etc/debian_version) 69 | else 70 | dist=$(uname -s) 71 | release=$(uname -r) 72 | fi 73 | 74 | distribution="$dist $release" 75 | case $distribution in 76 | "Ubuntu 18.04" | "Ubuntu 20.04" | "Ubuntu 22.04" | "Ubuntu 22.10") 77 | echo "$distribution has been tested and works" 78 | echo 79 | sleep 3 80 | ;; 81 | "Debian GNU/Linux 10") 82 | echo "$distribution is considered experimental but will mostly work" 83 | echo "You will be asked if you want to switch the debian repositories from 'stable' to 'oldstable'. More info can be found here: https://wiki.debian.org/DebianOldStable" 84 | read -p "Press Enter to continue" 85 | ;; 86 | "Debian GNU/Linux 11") 87 | echo "$distribution is considered experimental but will mostly work" 88 | read -p "Press Enter to continue" 89 | ;; 90 | *) 91 | read -p "$distribution has not been tested, would you like to continue? (y/n) " accept 92 | case "$accept" in 93 | [yY]) 94 | ;; 95 | *) 96 | exit 0 97 | ;; 98 | esac 99 | ;; 100 | esac 101 | 102 | } 103 | 104 | # Launch IBRAINSTALL 105 | install () { 106 | mkdir -p /opt/ibracorp 107 | wget -qO /opt/ibracorp/ibrainstall.sh https://raw.githubusercontent.com/ibracorp/ibramenu/main/ibrainstall.sh 108 | chmod +x /opt/ibracorp/ibrainstall.sh 109 | /opt/ibracorp/ibrainstall.sh $1 110 | } 111 | 112 | # Execute 113 | if [ -z $1 ] 114 | then 115 | disclaimer 116 | fi 117 | if [ -n $2 ] 118 | then 119 | mkdir -p /opt/ibracorp 120 | echo $2 > /opt/ibracorp/token 121 | fi 122 | checklist 123 | install $1 124 | # cleanup the initial ibrainstall 125 | rm /opt/ibracorp/ibrainstall.sh 126 | 127 | -------------------------------------------------------------------------------- /ibrainstall.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ###################################################################### 4 | # Title : IBRAINSTALL Installer and Updater for IBRAMENU 5 | # By : DiscDuck, Taos15 6 | # License : General Public License GPL-3.0-or-later 7 | # Another fine product brought to you by IBRACORP™ 8 | ###################################################################### 9 | 10 | # Check for existing ibramenu folder and clean up if needed 11 | ifolder="/opt/ibracorp/ibramenu" 12 | if [ -d $ifolder ]; then 13 | rm -r $ifolder 14 | fi 15 | mkdir -p $ifolder 16 | 17 | # Clone ibramenu 18 | apt update 19 | apt install sudo curl git ruby -y 20 | gem install mdless 21 | git clone -b main --single-branch https://github.com/ibracorp/ibramenu.git $ifolder 22 | find $ifolder -type f -iname "*.sh" -exec chmod +x {} \; 23 | 24 | # Add ibramenu as systemwide alias 25 | if ! grep -q ibramenu /etc/bash.bashrc 26 | then 27 | insert_alias="alias ibramenu='sudo /opt/ibracorp/ibramenu/ibramenu.sh'" 28 | echo $insert_alias | sudo tee -a /etc/bash.bashrc > /dev/null 29 | source /etc/bash.bashrc 30 | fi 31 | # Add ibraupdate as systemwide alias 32 | if ! grep -q ibraupdate /etc/bash.bashrc 33 | then 34 | insert_alias="alias ibraupdate='sudo /opt/ibracorp/ibramenu/ibraupdate.sh'" 35 | echo $insert_alias | sudo tee -a /etc/bash.bashrc > /dev/null 36 | source /etc/bash.bashrc 37 | fi 38 | 39 | # Include ibrafunc for all the awesome functions 40 | source /opt/ibracorp/ibramenu/ibrafunc.sh 41 | ibramotd 42 | ibralogo 43 | if [[ -n $1 ]] 44 | then 45 | if [ $1 = all ] 46 | then 47 | cd "/opt/ibracorp/ibramenu/MenuOptions/Submenu Basic Install Steps/All Steps in One" 48 | "./All Steps in One.sh" 49 | reboot 50 | else 51 | msgbox "Type 'ibramenu' to launch IBRAMENU" 52 | msgbox "Type 'ibraupdate' to update" 53 | msgbox "Please reboot after the first installation" 54 | fi 55 | fi 56 | -------------------------------------------------------------------------------- /ibramenu-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibracorp/ibramenu/3084c154902b42401ff3b734edcec8eacc9aa3cd/ibramenu-logo.png -------------------------------------------------------------------------------- /ibramenu.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ###################################################################### 4 | # Title : IBRAMENU 5 | # By : DiscDuck, Taos15 6 | # License : General Public License GPL-3.0-or-later 7 | # Another fine product brought to you by IBRACORP™ 8 | ###################################################################### 9 | 10 | # Include ibrafunc for all the awesome functions 11 | source /opt/ibracorp/ibramenu/ibrafunc.sh 12 | 13 | # Functions 14 | 15 | # Declare and fill the array 16 | build_menu() { 17 | for file in *; do 18 | menu_choice=("${menu_choice[@]}" "$file") 19 | done 20 | } 21 | 22 | # Build and display Menu 23 | menu_from_array() { 24 | declare -a menu_choice 25 | PS3="Enter 1-$#, B for going back up a level or X for Exit: " 26 | select item; do 27 | case $REPLY in 28 | x | X) 29 | echo "Exiting..." 30 | break 31 | ;; 32 | b | B) 33 | if [ "$PWD/" = $menu_entry_point ]; then 34 | read -p "Already at Top Menu. Press enter to continue..." 35 | break 36 | else 37 | cd .. 38 | break 39 | fi 40 | ;; 41 | [1-$#]) 42 | if [ "${item:0:7}" = "Submenu" ]; then 43 | cd "$item/" 44 | break 45 | else 46 | execute_script 47 | break 48 | fi 49 | ;; 50 | *) 51 | echo "Not a valid choice" 52 | ;; 53 | esac 54 | done 55 | } 56 | 57 | # Execute the script from the folder 58 | execute_script() { 59 | msgbox "$item" 60 | cd "$item" 61 | readme 62 | if [ $? = 0 ]; then 63 | script_command="./$item.sh" 64 | "$script_command" 65 | read -p "Press enter to continue..." 66 | fi 67 | cd .. 68 | } 69 | 70 | # Define Variables 71 | if [ $1 ]; then 72 | menu_entry_point="$1" 73 | else 74 | menu_entry_point="/opt/ibracorp/ibramenu/MenuOptions/" 75 | fi 76 | cd "$menu_entry_point" 77 | 78 | # Check Disclaimer 79 | disclaimer 80 | 81 | # Check Environment 82 | environment_check 83 | 84 | # IBRAMOTD 85 | ibramotd 86 | 87 | # Menu 88 | until [ $REPLY = x ] || [ $REPLY = X ]; do 89 | ibralogo 90 | checkupdate 91 | unset menu_choice 92 | build_menu 93 | menu_from_array "${menu_choice[@]}" 94 | done 95 | -------------------------------------------------------------------------------- /ibraupdate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ###################################################################### 4 | # Title : Beachhead - Initial Installer for IBRAMENU 5 | # By : DiscDuck, Taos15 6 | # License : General Public License GPL-3.0-or-later 7 | # Another fine product brought to you by IBRACORP™ 8 | ###################################################################### 9 | 10 | sudo bash -c "rm -R /opt/ibracorp/ibramenu/" 11 | sudo bash -c "git clone -b main --single-branch https://github.com/ibracorp/ibramenu.git /opt/ibracorp/ibramenu" 12 | sudo find $ifolder -type f -iname "*.sh" -exec chmod +x {} \; 13 | 14 | # update the custom docker netwrok use in all the containers 15 | update_docker_network() { 16 | read -p "Enter the name of your custome docker network (ex. ibranet) : " customnetwork 17 | sed -i "s/^dockernet=.*$/dockernet=$customnetwork/" /opt/ibracorp/ibramenu/.profile 18 | docker network create $customnetwork >/dev/null 2>&1 19 | } 20 | 21 | update_docker_network 22 | # Include ibrafunc for all the awesome functions 23 | source /opt/ibracorp/ibramenu/ibrafunc.sh 24 | -------------------------------------------------------------------------------- /root/defaults/config.ini: -------------------------------------------------------------------------------- 1 | [General] 2 | logdir = /config/log 3 | -------------------------------------------------------------------------------- /root/etc/s6-overlay/s6-rc.d/init-config-end/dependencies.d/init-ibramenu-config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibracorp/ibramenu/3084c154902b42401ff3b734edcec8eacc9aa3cd/root/etc/s6-overlay/s6-rc.d/init-config-end/dependencies.d/init-ibramenu-config -------------------------------------------------------------------------------- /root/etc/s6-overlay/s6-rc.d/init-ibramenu-config/dependencies.d/init-config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibracorp/ibramenu/3084c154902b42401ff3b734edcec8eacc9aa3cd/root/etc/s6-overlay/s6-rc.d/init-ibramenu-config/dependencies.d/init-config -------------------------------------------------------------------------------- /root/etc/s6-overlay/s6-rc.d/init-ibramenu-config/run: -------------------------------------------------------------------------------- 1 | #!/usr/bin/with-contenv bash 2 | 3 | # make folders 4 | mkdir -p \ 5 | /config/log 6 | 7 | # copy config 8 | if [[ ! -e /config/config.ini ]]; then 9 | cp /defaults/config.ini /config/config.ini 10 | fi 11 | 12 | # run docker as non-root 13 | usermod -aG docker abc 14 | 15 | 16 | # permissions 17 | lsiown abc:abc -R \ 18 | /config \ 19 | /opt 20 | 21 | -------------------------------------------------------------------------------- /root/etc/s6-overlay/s6-rc.d/init-ibramenu-config/type: -------------------------------------------------------------------------------- 1 | oneshot 2 | -------------------------------------------------------------------------------- /root/etc/s6-overlay/s6-rc.d/init-ibramenu-config/up: -------------------------------------------------------------------------------- 1 | /etc/s6-overlay/s6-rc.d/init-ibramenu-config/run 2 | -------------------------------------------------------------------------------- /root/etc/s6-overlay/s6-rc.d/svc-ibramenu/dependencies.d/init-services: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibracorp/ibramenu/3084c154902b42401ff3b734edcec8eacc9aa3cd/root/etc/s6-overlay/s6-rc.d/svc-ibramenu/dependencies.d/init-services -------------------------------------------------------------------------------- /root/etc/s6-overlay/s6-rc.d/svc-ibramenu/notification-fd: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /root/etc/s6-overlay/s6-rc.d/svc-ibramenu/run: -------------------------------------------------------------------------------- 1 | #!/usr/bin/with-contenv bash 2 | 3 | # exec \ 4 | # s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 5299" \ 5 | # s6-setuidgid abc bash /opt/ibracorp/ibramenu/ibramenu.sh \ 6 | # --datadir /config --nolaunch 7 | -------------------------------------------------------------------------------- /root/etc/s6-overlay/s6-rc.d/svc-ibramenu/type: -------------------------------------------------------------------------------- 1 | longrun 2 | -------------------------------------------------------------------------------- /root/etc/s6-overlay/s6-rc.d/user/contents.d/init-ibramenu-config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibracorp/ibramenu/3084c154902b42401ff3b734edcec8eacc9aa3cd/root/etc/s6-overlay/s6-rc.d/user/contents.d/init-ibramenu-config -------------------------------------------------------------------------------- /root/etc/s6-overlay/s6-rc.d/user/contents.d/svc-ibramenu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ibracorp/ibramenu/3084c154902b42401ff3b734edcec8eacc9aa3cd/root/etc/s6-overlay/s6-rc.d/user/contents.d/svc-ibramenu -------------------------------------------------------------------------------- /version: -------------------------------------------------------------------------------- 1 | 2.35 2 | 3 | --------------------------------------------------------------------------------