2025-10-13 13:28:06theophile:
noted the file permissions etc for docker
server/setup.md ..
@@ 1,7 1,31 @@
# Setup
+
- Docker
+
- fail2ban
+
- ufw
+
- secure ssh with password access blocked
+
+
+
+
## Docker
+
Following the instruction in <https://docs.docker.com/>.
You need `docker` and `docker-compose`. Since we are not running in unpriviledged, we don't need the `rootless` packages.
Normaly, we don't need anything else.
+
+
We store `docker-compose` files in `/opt/docker`, and data in `/mnt/data` and `/mnt/ncdata`.
+
+
The `docker` user and group should be created to manage volumes and permissions. Each admin user should be added to the docker group.
+
+
File permissions for the docker container data and configs should be set to the docker:docker and add read/write/execute permissions for the docker group, for easier admin management without having to elevating permissions to root.