Files
inn/README.md
T

80 lines
1.8 KiB
Markdown
Raw Normal View History

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