mirror of
https://github.com/driftywinds/driftywinds.git
synced 2025-12-19 02:23:32 +00:00
Create compose.yml
This commit is contained in:
17
docker-compose-files/pocketID/compose.yml
Normal file
17
docker-compose-files/pocketID/compose.yml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
services:
|
||||||
|
pocket-id:
|
||||||
|
image: stonith404/pocket-id # or ghcr.io/stonith404/pocket-id
|
||||||
|
restart: unless-stopped
|
||||||
|
env_file: .env
|
||||||
|
ports:
|
||||||
|
- 80:80
|
||||||
|
volumes:
|
||||||
|
- "./data:/app/backend/data"
|
||||||
|
# Optional healthcheck
|
||||||
|
healthcheck:
|
||||||
|
test: "curl -f http://localhost/health"
|
||||||
|
interval: 1m30s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 2
|
||||||
|
start_period: 10s
|
||||||
|
# external caddy handles SSL certs
|
||||||
Reference in New Issue
Block a user