- Java 11
- Maven
- Redis
- PostgreSQL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const components_req = require.context('./components', true, /^(.*\.(vue))[^.]*$/im); | |
| const components = components_req.keys().reduce(function(acc, key){ | |
| const name = key.replace(/^.*\/([^\.]+)\.vue/,'$1'); | |
| if (name !== 'App') { | |
| let comp = components_req(key); | |
| acc[name] = comp.default && comp.__esModule ? comp.default : comp; | |
| } | |
| return acc; | |
| }, {}); |
- Retrieve the
app idof the target CasaOS app you wanted to back-up thedocker-compose.yaml:
You can do this by opening the app settings of the target app, and at the top of the settings window, it should show the app's id:
In the sample screenshot above, the app id of the app I want to backup is linuxserver-plex.
-
Open the
cloudflared-webWebUI and back-up the token by copying it and pasting it temporarily somewhere. -
Get
cloudflared-webcontainer id:
sudo docker ps
- Stop and remove the
cloudflared-webcontainer:
sudo docker stop
1.) Set target directory
export LARAVEL_APP=laravelThe value of
LARAVEL_APPwill be the name of the directory where the laravel app will be created relative to your current working directory in git bash.
2.) Install Laravel via Docker
docker run --rm \
--pull=always \
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| echo "Downloading MediaCMS into /DATA/AppData/mediacms..." | |
| mkdir -p /DATA/AppData/mediacms | |
| cd /DATA/AppData/mediacms | |
| git clone https://github.com/mediacms-io/mediacms.git | |
| cd mediacms | |
| echo "Starting MediaCMS docker-compose.yml..." | |
| curl -fsSL https://gist.githubusercontent.com/WisdomSky/f6d0db67dc8378941c8dcb7a436c1c74/raw/docker-compose.yaml > docker-compose.yaml | |
| docker compose up -d |
OlderNewer

