coder README
sudo bash -c "$(curl -q -LSsf "https://github.com/systemmgr/installer/raw/main/install.sh")"
sudo systemmgr --config && sudo systemmgr install scripts
dockermgr update coder
mkdir -p "$HOME/.local/share/srv/docker/coder/rootfs"
git clone "https://github.com/dockermgr/coder" "$HOME/.local/share/CasjaysDev/dockermgr/coder"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/coder/rootfs/." "$HOME/.local/share/srv/docker/coder/rootfs/"
docker run -d \
--restart always \
--privileged \
--name casjaysdevdocker-coder \
--hostname coder \
-e TZ=${TIMEZONE:-America/New_York} \
-v "$HOME/.local/share/srv/docker/casjaysdevdocker-coder/rootfs/data:/data:z" \
-v "$HOME/.local/share/srv/docker/casjaysdevdocker-coder/rootfs/config:/config:z" \
-p 80:80 \
casjaysdevdocker/coder:latest
version: "2"
services:
ProjectName:
image: casjaysdevdocker/coder
container_name: casjaysdevdocker-coder
environment:
- TZ=America/New_York
- HOSTNAME=coder
volumes:
- "$HOME/.local/share/srv/docker/casjaysdevdocker-coder/rootfs/data:/data:z"
- "$HOME/.local/share/srv/docker/casjaysdevdocker-coder/rootfs/config:/config:z"
ports:
- 80:80
restart: always
dockermgr download src casjaysdevdocker/coder
OR
git clone "https://github.com/casjaysdevdocker/coder" "$HOME/Projects/github/casjaysdevdocker/coder"
cd "$HOME/Projects/github/casjaysdevdocker/coder"
buildx