-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
60 lines (57 loc) · 1.55 KB
/
Copy pathcompose.yaml
File metadata and controls
60 lines (57 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: "3.8"
services:
pocketbase:
image: ghcr.io/muchobien/pocketbase:latest
container_name: pocketbase
restart: unless-stopped
environment:
- PB_HOST=0.0.0.0
- PB_PORT=8090
- PB_ADMIN_EMAIL=${PB_ADMIN_EMAIL}
- PB_ADMIN_PASSWORD=${PB_ADMIN_PASSWORD}
- TZ=Europe/Berlin
ports:
- "8090:8090"
volumes:
- ./pb_data:/pb_data
- ./pb_migrations:/pb_migrations
- ./pb_hooks:/pb_hooks
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8090/api/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
networks:
- backend
edge-functions:
image: supabase/edge-runtime:v1.69.25
container_name: edge-functions
restart: unless-stopped
depends_on:
pocketbase:
condition: service_healthy
environment:
- POCKETBASE_URL=http://pocketbase:8090
- POCKETBASE_ADMIN_EMAIL=${PB_ADMIN_EMAIL}
- POCKETBASE_ADMIN_PASSWORD=${PB_ADMIN_PASSWORD}
- JWT_SECRET=${JWT_SECRET}
- VERIFY_JWT=${VERIFY_JWT:-false}
- SUPABASE_URL=${SUPABASE_URL}
- SUPABASE_SERVICE_ROLE_KEY=${SUPABASE_SERVICE_ROLE_KEY}
- GITHUB_TOKEN=${GITHUB_TOKEN}
- GITHUB_REPO=${GITHUB_REPO}
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
ports:
- "9000:9000"
volumes:
- ./functions:/home/deno/functions:Z
command:
- start
- --main-service
- /home/deno/functions/main
networks:
- backend
networks:
backend:
driver: bridge