The minimalistic document archiving platform.
feat(docker): release rootless as :latest (#170)
Corentin Thomasset14489457b28c
diff --git a/.github/workflows/release-docker.yaml b/.github/workflows/release-docker.yamlindex ea13bbee..f8de96d7 100644--- a/.github/workflows/release-docker.yaml+++ b/.github/workflows/release-docker.yaml@@ -65,7 +65,9 @@ jobs:platforms: linux/amd64,linux/arm64,linux/arm/v7push: truetags: |+ corentinth/papra:latestcorentinth/papra:latest-rootlesscorentinth/papra:${{ env.RELEASE_VERSION }}-rootless+ ghcr.io/papra-hq/papra:latestghcr.io/papra-hq/papra:latest-rootlessghcr.io/papra-hq/papra:${{ env.RELEASE_VERSION }}-rootless\ No newline at end of filediff --git a/apps/docs/src/content/docs/02-self-hosting/01-using-docker.md b/apps/docs/src/content/docs/02-self-hosting/01-using-docker.mdindex ce03620f..aad0648c 100644--- a/apps/docs/src/content/docs/02-self-hosting/01-using-docker.md+++ b/apps/docs/src/content/docs/02-self-hosting/01-using-docker.md@@ -21,12 +21,22 @@ Verify your installation:docker --version```+## Installation++You can run Papra using the following command:++```bash frame="none"+docker run -d --name papra --restart unless-stopped -p 1221:1221 ghcr.io/papra-hq/papra+```++It will automatically download the latest image and start the container. The application will be available at [http://localhost:1221](http://localhost:1221).+## Root and Rootless installationPapra can be installed in two different ways:+- **Rootless** (recommended): This method does not require root privileges to run. The images are suffixed with `-rootless` like `corentinth/papra:latest-rootless` or `corentinth/papra:1.0.0-rootless` and the default `:latest` tag points to the latest rootless image.- **Root**: This is the default installation method. It requires root privileges to run. The images are suffixed with `-root` like `corentinth/papra:latest-root` or `corentinth/papra:1.0.0-root`.-- **Rootless**: This method does not require root privileges to run. The images are suffixed with `-rootless` like `corentinth/papra:latest-rootless` or `corentinth/papra:1.0.0-rootless`.## Image Sources@@ -34,12 +44,14 @@ Papra Docker images are available on both **Docker Hub** and **GitHub Container```bash frame="none"# Using Docker Hub-docker pull corentinth/papra:latest-root+docker pull corentinth/papra:latestdocker pull corentinth/papra:latest-rootless+docker pull corentinth/papra:latest-root# Using GitHub Container Registry-docker pull ghcr.io/papra-hq/papra:latest-root+docker pull ghcr.io/papra-hq/papra:latestdocker pull ghcr.io/papra-hq/papra:latest-rootless+docker pull ghcr.io/papra-hq/papra:latest-root```## Basic Usage