- Debian 11
Rename .env.example
to .env
Download caddy executable from here and move it in config/caddy/caddy
It will be installed and configured as part of ./run.sh setup
Uncomment the following line in /etc/pam.d/su, by removing the leading '#':
auth required pam_wheel.so
Create the group wheel with root privileges:
addgroup --system wheel
Execute visudo
and add the following line:
%wheel ALL=(ALL) NOPASSWD: ALL
Create user and add it to the wheel
group:
useradd -m -g wheel arvigeus
passwd arvigeus
Use bash
instead of sh
sudo chsh -s /bin/bash $(whoami)
Get user info
id
Get all groups:
less /etc/group
Allow run.sh
to be executed:
sudo chmod +x run.sh
Make sure volumes for kavita
, dim
, koel
are commented out!
# First time run
./run.sh setup
# manage containers:
./run.sh start
./run.sh stop
./run.sh restart
./run.sh update
# A manual hack for extra tweaks
./run.sh post-setup
# Other
./run.sh info IMAGE_NAME
docker exec -it postgres psql
CREATE USER $database WITH PASSWORD '$database';
CREATE DATABASE $database;
GRANT ALL PRIVILEGES ON DATABASE $database TO $database;
Replace $database
with database name
docker exec -it postgres psql
DROP USER $database;
DROP DATABASE $database;
Replace $database
with database name
sudo: unable to resolve host localhost.localdomain: Name or service not known
: Add the following line to/etc/hosts/
:127.0.0.1 localhost.localdomain localhost
- Check if website is reachable:
nslookup arvigeus.one
andnslookup arvigeus.one 8.8.8.8
should return the same - Check logs:
sudo docker container logs caddy
- Some containers take a lot of time to boot, meanwhile they can return 404 (not found) or 502 (bad gateway) errors
- Check why site is not secure: https://www.whynopadlock.com
- Check if docker is working:
curl -H "Content-Type: application/json" --unix-socket /var/run/docker.sock http://localhost/_ping
- Uncomment
DOZZLE_LEVEL: debug
indocker-compose.yml
, then restart to see more detailed log - Mounting WebDAV: https://sleeplessbeastie.eu/2017/09/04/how-to-mount-webdav-share/