feat: Initial commit.

This commit is contained in:
2025-04-10 13:58:53 -04:00
parent 2b29ab938d
commit c761146aaa
2 changed files with 31 additions and 0 deletions

24
compose.yaml Normal file
View File

@@ -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

7
exampl.env Normal file
View File

@@ -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