init: Pocket-ID compose snapshot
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
.env
|
||||||
|
.env.*
|
||||||
|
!.env.example
|
||||||
|
data/
|
||||||
@@ -1,3 +1,9 @@
|
|||||||
# ct110-pocket-id
|
# ct110-pocket-id
|
||||||
|
|
||||||
Pocket-ID OIDC IdP compose (CT 110)
|
Pocket-ID OIDC IdP compose for CT 110 (192.168.1.5, id.nuclide.systems).
|
||||||
|
|
||||||
|
Auto-synced daily at 03:15 from CT 110.
|
||||||
|
|
||||||
|
Stack location: `/opt/stacks/pocketid/`
|
||||||
|
|
||||||
|
SQLite DB + signing keys are backed up via Backrest (CT 103, services-backup-plan).
|
||||||
|
|||||||
@@ -0,0 +1,32 @@
|
|||||||
|
services:
|
||||||
|
pocketid:
|
||||||
|
image: ghcr.io/pocket-id/pocket-id:latest
|
||||||
|
container_name: pocket-id
|
||||||
|
restart: unless-stopped
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: "0.5"
|
||||||
|
memory: 512M
|
||||||
|
reservations:
|
||||||
|
cpus: "0.25"
|
||||||
|
memory: 256M
|
||||||
|
env_file: .env
|
||||||
|
ports:
|
||||||
|
- 11000:1411
|
||||||
|
volumes:
|
||||||
|
- /opt/stacks/pocketid/data:/app/data
|
||||||
|
# Optional healthcheck
|
||||||
|
healthcheck:
|
||||||
|
test: curl -f http://localhost:1411/healthz
|
||||||
|
interval: 1m30s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 2
|
||||||
|
start_period: 10s
|
||||||
|
labels:
|
||||||
|
- "homepage.group=infrastructure"
|
||||||
|
- "homepage.name=PocketID"
|
||||||
|
- "homepage.icon=sh-pocket-id"
|
||||||
|
- "homepage.href=https://id.nuclide.systems"
|
||||||
|
- "homepage.instance.internal.href=http://192.168.1.40:11000"
|
||||||
|
- "homepage.instance.public.href=https://id.nuclide.systems"
|
||||||
Reference in New Issue
Block a user