-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (37 loc) · 988 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (37 loc) · 988 Bytes
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
services:
pocketbase:
build:
context: ./apps/pocketbase
dockerfile: Dockerfile
container_name: pocketbase
restart: unless-stopped
ports:
- '8090:8090'
# - '6060:6060' # pprof/metrics for debugging - do not expose to public internet
volumes:
- ./apps/pocketbase/pb_data:/pb_data
- ./apps/pocketbase/pb_migrations:/pb_migrations
env_file:
- ./apps/web/.env
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:8090/api/health || exit 1
interval: 30s
timeout: 5s
retries: 5
logging:
driver: 'json-file'
options:
max-file: '3'
max-size: '10m'
#cloudflare-tunnel:
# image: cloudflare/cloudflared:latest
# container_name: cloudflare-tunnel
# restart: unless-stopped
# command: tunnel run
# env_file:
# - ./apps/web/.env
# logging:
# driver: "json-file"
# options:
# max-file: "3"
# max-size: "10m"