File tree Expand file tree Collapse file tree 4 files changed +66
-0
lines changed
Expand file tree Collapse file tree 4 files changed +66
-0
lines changed Original file line number Diff line number Diff line change 1+ services :
2+ pocket-id :
3+ image : ghcr.io/pocket-id/pocket-id:v0.35.1
4+ restart : unless-stopped
5+ environment :
6+ - PUBLIC_UI_CONFIG_DISABLED
7+ - PUBLIC_APP_URL
8+ - TRUST_PROXY
9+ ports :
10+ - 80
11+ volumes :
12+ - pocket-id-data:/app/backend/data
13+ healthcheck :
14+ test : " curl -f http://localhost/health"
15+ interval : 1m30s
16+ timeout : 5s
17+ retries : 2
18+ start_period : 10s
19+
20+ volumes :
21+ pocket-id-data :
Original file line number Diff line number Diff line change 1+ import {
2+ type DomainSchema ,
3+ type Schema ,
4+ type Template ,
5+ generateRandomDomain ,
6+ } from "../utils" ;
7+
8+ export function generate ( schema : Schema ) : Template {
9+ const mainDomain = generateRandomDomain ( schema ) ;
10+
11+ const domains : DomainSchema [ ] = [
12+ {
13+ host : mainDomain ,
14+ port : 80 ,
15+ serviceName : "pocket-id" ,
16+ } ,
17+ ] ;
18+
19+ const envs = [
20+ "PUBLIC_UI_CONFIG_DISABLED=false" ,
21+ `PUBLIC_APP_URL=http://${ mainDomain } ` ,
22+ "TRUST_PROXY=true" ,
23+ ] ;
24+
25+ return {
26+ domains,
27+ envs,
28+ } ;
29+ }
Original file line number Diff line number Diff line change @@ -1123,6 +1123,21 @@ export const templates: TemplateData[] = [
11231123 tags : [ "identity" , "auth" ] ,
11241124 load : ( ) => import ( "./logto/index" ) . then ( ( m ) => m . generate ) ,
11251125 } ,
1126+ {
1127+ id : "pocket-id" ,
1128+ name : "Pocket ID" ,
1129+ version : "0.35.1" ,
1130+ description :
1131+ "A simple and easy-to-use OIDC provider that allows users to authenticate with their passkeys to your services." ,
1132+ logo : "pocket-id.svg" ,
1133+ links : {
1134+ github : "https://github.com/pocket-id/pocket-id" ,
1135+ website : "https://pocket-id.org/" ,
1136+ docs : "https://pocket-id.org/docs" ,
1137+ } ,
1138+ tags : [ "identity" , "auth" ] ,
1139+ load : ( ) => import ( "./pocket-id/index" ) . then ( ( m ) => m . generate ) ,
1140+ } ,
11261141 {
11271142 id : "penpot" ,
11281143 name : "Penpot" ,
You can’t perform that action at this time.
0 commit comments