mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-11-27 07:58:44 +03:00
Push all apps to Umbrel App Repo
This commit is contained in:
commit
cfb9bd73b7
264 files changed
+5789
No files matched your search
@@ -0,0 +1 @@
|
||||
source "${HOME}/.loaders/init.sh"
|
||||
@@ -0,0 +1,41 @@
|
||||
lazy_load() {
|
||||
local command="${1}"
|
||||
local loader="${2}"
|
||||
local arguments=${@:3}
|
||||
if ! which $command > /dev/null 2>&1
|
||||
then
|
||||
echo "${command} isn't installed yet, installing it now..."
|
||||
$loader
|
||||
echo "${command} installed! Running \"${command} ${arguments}\"..."
|
||||
echo
|
||||
fi
|
||||
$command $arguments
|
||||
}
|
||||
|
||||
setup_node() {
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
source "${HOME}/.nvm/nvm.sh"
|
||||
source "${HOME}/.nvm/bash_completion"
|
||||
nvm install stable
|
||||
}
|
||||
|
||||
setup_python() {
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y python3 python3-pip
|
||||
}
|
||||
|
||||
setup_rust() {
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
source "${HOME}/.cargo/env"
|
||||
}
|
||||
|
||||
alias node="lazy_load node setup_node"
|
||||
alias npm="lazy_load npm setup_node"
|
||||
alias python3="lazy_load python3 setup_python"
|
||||
alias pip3="lazy_load pip3 setup_python"
|
||||
alias python="python3"
|
||||
alias pip="pip3"
|
||||
alias rustup="lazy_load rustup setup_rust"
|
||||
alias rustc="lazy_load rustc setup_rust"
|
||||
alias cargo="lazy_load cargo setup_rust"
|
||||
@@ -0,0 +1,16 @@
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
server:
|
||||
image: codercom/code-server:3.11.1@sha256:9bb2444f9d0c26765924e29155ac4a8febecb1e080f12c4e368e71dbe6a675b5
|
||||
restart: on-failure
|
||||
user: "1000:1000"
|
||||
ports:
|
||||
- "${APP_CODE_SERVER_PORT}:8080"
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data:/home/coder
|
||||
environment:
|
||||
PASSWORD: $APP_PASSWORD
|
||||
networks:
|
||||
default:
|
||||
ipv4_address: $APP_CODE_SERVER_IP
|
||||
@@ -0,0 +1,2 @@
|
||||
export APP_CODE_SERVER_IP="10.21.21.53"
|
||||
export APP_CODE_SERVER_PORT="8091"
|
||||
@@ -0,0 +1,3 @@
|
||||
# code-server Hidden Service
|
||||
HiddenServiceDir /data/app-code-server
|
||||
HiddenServicePort 80 $APP_CODE_SERVER_IP:8080
|
||||
@@ -0,0 +1,28 @@
|
||||
manifest: 1
|
||||
id: code-server
|
||||
category: Development
|
||||
name: code-server
|
||||
version: 3.11.1
|
||||
tagline: Run VS Code on your Umbrel
|
||||
description: >-
|
||||
Run VS Code on your Umbrel and access it in the browser so you can
|
||||
code on any device with a consistent development environment. This way you can
|
||||
use your Umbrel not only to code from any device, anywhere, but to also speed
|
||||
up tests, compilations, downloads, and more.
|
||||
|
||||
|
||||
By running all intensive tasks run on your Umbrel, preserve battery life of your devices when you're on the go.
|
||||
developer: Coder
|
||||
website: https://coder.com
|
||||
dependencies: []
|
||||
repo: https://github.com/cdr/code-server
|
||||
support: https://github.com/cdr/code-server/discussions
|
||||
port: 8091
|
||||
gallery:
|
||||
- 1.jpg
|
||||
- 2.jpg
|
||||
- 3.jpg
|
||||
path: ""
|
||||
defaultUsername: ""
|
||||
deterministicPassword: true
|
||||
torOnly: false
|
||||
Reference in new issue
Block a user