feat: Initial commit.
This commit is contained in:
24
compose.yaml
Normal file
24
compose.yaml
Normal 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
7
exampl.env
Normal 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
|
||||
Reference in New Issue
Block a user