Files
rarbg/README.md
T

80 lines
1.9 KiB
Markdown
Raw Normal View History

2023-07-03 18:23:48 -04:00
## 👋 Welcome to rarbg 🚀
2026-05-12 20:08:50 -04:00
rarbg README
2023-07-03 18:23:48 -04:00
2026-05-12 20:08:50 -04:00
## Install my system scripts
2023-07-03 18:23:48 -04:00
```shell
2026-05-12 20:08:50 -04:00
sudo bash -c "$(curl -q -LSsf "https://github.com/systemmgr/installer/raw/main/install.sh")"
sudo systemmgr --config && sudo systemmgr install scripts
2023-07-03 18:23:48 -04:00
```
2026-05-12 20:08:50 -04:00
## Automatic install/update
2023-07-03 18:23:48 -04:00
```shell
2026-05-12 20:08:50 -04:00
dockermgr update rarbg
2023-07-03 18:23:48 -04:00
```
2026-05-12 20:08:50 -04:00
## Install and run container
```shell
dockerHome="/var/lib/srv/$USER/docker/casjaysdevdocker/rarbg/rarbg/latest/rootfs"
mkdir -p "/var/lib/srv/$USER/docker/rarbg/rootfs"
git clone "https://github.com/dockermgr/rarbg" "$HOME/.local/share/CasjaysDev/dockermgr/rarbg"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/rarbg/rootfs/." "$dockerHome/"
docker run -d \
--restart always \
--privileged \
--name casjaysdevdocker-rarbg-latest \
--hostname rarbg \
-e TZ=${TIMEZONE:-America/New_York} \
-v "$dockerHome/data:/data:z" \
-v "$dockerHome/config:/config:z" \
-p 80:80 \
casjaysdevdocker/rarbg:latest
```
## via docker-compose
```yaml
version: "2"
services:
ProjectName:
image: casjaysdevdocker/rarbg
container_name: casjaysdevdocker-rarbg
environment:
- TZ=America/New_York
- HOSTNAME=rarbg
volumes:
- "/var/lib/srv/$USER/docker/casjaysdevdocker/rarbg/rarbg/latest/rootfs/data:/data:z"
- "/var/lib/srv/$USER/docker/casjaysdevdocker/rarbg/rarbg/latest/rootfs/config:/config:z"
ports:
- 80:80
restart: always
```
2023-07-03 18:23:48 -04:00
## Get source files
2026-05-12 20:08:50 -04:00
2023-07-03 18:23:48 -04:00
```shell
dockermgr download src casjaysdevdocker/rarbg
```
2026-05-12 20:08:50 -04:00
2023-07-03 18:23:48 -04:00
OR
2026-05-12 20:08:50 -04:00
2023-07-03 18:23:48 -04:00
```shell
git clone "https://github.com/casjaysdevdocker/rarbg" "$HOME/Projects/github/casjaysdevdocker/rarbg"
```
2026-05-12 20:08:50 -04:00
2023-07-03 18:23:48 -04:00
## Build container
2026-05-12 20:08:50 -04:00
2023-07-03 18:23:48 -04:00
```shell
cd "$HOME/Projects/github/casjaysdevdocker/rarbg"
buildx
```
2026-05-12 20:08:50 -04:00
2023-07-03 18:23:48 -04:00
## Authors
2026-05-12 20:08:50 -04:00
2023-07-03 18:23:48 -04:00
🤖 casjay: [Github](https://github.com/casjay) 🤖
2026-05-12 20:08:50 -04:00
⛵ casjaysdevdocker: [Github](https://github.com/casjaysdevdocker) [Docker](https://hub.docker.com/u/casjaysdevdocker) ⛵