aboutsummaryrefslogtreecommitdiff
path: root/services/pocket-id/compose.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'services/pocket-id/compose.yaml')
-rw-r--r--services/pocket-id/compose.yaml37
1 files changed, 37 insertions, 0 deletions
diff --git a/services/pocket-id/compose.yaml b/services/pocket-id/compose.yaml
new file mode 100644
index 0000000..8488e47
--- /dev/null
+++ b/services/pocket-id/compose.yaml
@@ -0,0 +1,37 @@
+networks:
+ proxy:
+ external: true
+
+volumes:
+ data:
+
+services:
+ pocket-id:
+ image: ghcr.io/pocket-id/pocket-id:v1
+ container_name: pocket-id
+ restart: unless-stopped
+ labels:
+ traefik.enable: true
+ traefik.port: 1411
+ traefik.http.routers.pocket-id.rule: Host(`id.4d6178.work`)
+ traefik.http.routers.pocket-id.entrypoints: websecure
+ traefik.http.routers.pocket-id.tls: true
+ traefik.http.routers.pocket-id.tls.certresolver: le
+ volumes:
+ - data:/app/data
+ networks:
+ - proxy
+ environment:
+ APP_URL: https://id.4d6178.work
+ TRUST_PROXY: true
+ PUID: 1000
+ PGID: 1000
+ healthcheck:
+ test:
+ - CMD
+ - /app/pocket-id
+ - healthcheck
+ interval: 1m30s
+ timeout: 5s
+ retries: 2
+ start_period: 10s