From c69bc1bb5c74ec011634ad246a354dbe9fc1bfc3 Mon Sep 17 00:00:00 2001 From: drifty Date: Thu, 16 Jan 2025 12:55:20 +0530 Subject: [PATCH] Create compose.yml --- docker-compose-files/pocketID/compose.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 docker-compose-files/pocketID/compose.yml diff --git a/docker-compose-files/pocketID/compose.yml b/docker-compose-files/pocketID/compose.yml new file mode 100644 index 0000000..290dd52 --- /dev/null +++ b/docker-compose-files/pocketID/compose.yml @@ -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