Skip to content

Commit 3d2822f

Browse files
committed
Pocket ID compose for bitbucket
1 parent 396807e commit 3d2822f

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

pocket-id/compose.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
services:
2+
sidecar:
3+
extends:
4+
file: ../sidecar-compose.yaml
5+
service: .sidecar
6+
hostname: calibre
7+
env_file: ../bitbucket/.tailscale.env
8+
environment:
9+
- TS_SERVE_PORT=80
10+
11+
pocket-id:
12+
image: ghcr.io/pocket-id/pocket-id
13+
restart: unless-stopped
14+
env_file: .env
15+
ports:
16+
- 80
17+
volumes:
18+
- "./data:/app/backend/data"
19+
# Optional healthcheck
20+
healthcheck:
21+
test: "curl -f http://localhost/health"
22+
interval: 1m30s
23+
timeout: 5s
24+
retries: 2
25+
start_period: 10s
26+
27+
volumes:
28+
- tailscale-data:

0 commit comments

Comments
 (0)