-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (34 loc) · 945 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
36 lines (34 loc) · 945 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
services:
frontend:
build:
context: ./frontend
# No target specified runs the optimized Next.js build (npm start).
# docker-compose.override.yml overrides this to the dev stage (npm run dev + HMR).
ports:
- "127.0.0.1:7110:7110"
env_file:
- ./frontend/.env
environment:
- INTERNAL_API_URL=http://backend:7120
depends_on:
- backend
backend:
build: ./backend
ports:
- "127.0.0.1:7120:7120"
env_file:
- ./backend/.env
environment:
# Override with Docker service name (backend/.env uses 127.0.0.1 for local dev)
- POCKETBASE_URL=http://pocketbase:7130
depends_on:
- pocketbase
pocketbase:
build: ./pocketbase
ports:
- "127.0.0.1:7130:7130"
environment:
- PB_ADMIN_EMAIL=${PB_ADMIN_EMAIL:[email protected]}
- PB_ADMIN_PASSWORD=${PB_ADMIN_PASSWORD:-changeme}
volumes:
- ./pb_data:/pb_data