From c761146aaa997a21a0d81631982c92e5e91044c8 Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Thu, 10 Apr 2025 13:58:53 -0400 Subject: [PATCH] feat: Initial commit. --- compose.yaml | 24 ++++++++++++++++++++++++ exampl.env | 7 +++++++ 2 files changed, 31 insertions(+) create mode 100644 compose.yaml create mode 100644 exampl.env diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..17de768 --- /dev/null +++ b/compose.yaml @@ -0,0 +1,24 @@ +services: + pocket-id: + image: ghcr.io/pocket-id/pocket-id + restart: unless-stopped + env_file: .env + ports: + - 3002:80 + volumes: + - "${DATA_MNT}:/app/backend/data" + networks: + - proxy + healthcheck: + test: "curl --fail http://localhost/health" + interval: 1m30s + timeout: 5s + retries: 2 + start_period: 10s + security_opt: + - no-new-privileges:true + +networks: + proxy: + external: true + diff --git a/exampl.env b/exampl.env new file mode 100644 index 0000000..e919430 --- /dev/null +++ b/exampl.env @@ -0,0 +1,7 @@ +# See the documentation for more information: https://pocket-id.org/docs/configuration/environment-variables +PUBLIC_APP_URL=https://pocket-id.housh.dev +TRUST_PROXY=true +MAXMIND_LICENSE_KEY=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 +PUID=1000 +PGID=1000 +DATA_MNT=/mnt