-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
46 lines (44 loc) · 1002 Bytes
/
docker-compose.dev.yml
File metadata and controls
46 lines (44 loc) · 1002 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
38
39
40
41
42
43
44
45
46
services:
web:
build:
context: .
dockerfile: Dockerfile.dev
ports:
- "3000:3000"
mem_limit: 6g
environment:
- NODE_ENV=development
- NEXT_PUBLIC_CHAIN_ID=84532
- DATABASE_URL=${DATABASE_URL:-}
volumes:
# Mount source for hot reload (but not node_modules)
- ./apps/hub/src:/app/apps/hub/src
- ./packages/sdk/src:/app/packages/sdk/src
- ./packages/ui/src:/app/packages/ui/src
healthcheck:
test:
[
"CMD",
"wget",
"--no-verbose",
"--tries=1",
"--spider",
"http://localhost:3000/api/health",
]
interval: 10s
timeout: 5s
retries: 3
# HTTPS proxy for passkey testing
https-proxy:
image: caddy:2-alpine
ports:
- "443:443"
volumes:
- ./Caddyfile.dev:/etc/caddy/Caddyfile:ro
- caddy_data:/data
- caddy_config:/config
depends_on:
- web
volumes:
caddy_data:
caddy_config: