-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
46 lines (44 loc) · 1.06 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
46 lines (44 loc) · 1.06 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
services:
finn:
image: finnai-finn-dev:latest
build:
context: .
target: development
command: bun run dev
ports:
- "${PORT:-3000}:3000"
env_file:
- .env
volumes:
- .:/app
- finn-node-modules:/app/node_modules
- finn-logs:/data/logs
- finn-workspaces:/data/workspaces
environment:
NODE_ENV: development
DATABASE_URL: postgresql://finn:${POSTGRES_PASSWORD:-finnpass}@postgres:5432/finn
WORKER_WORKSPACES_PATH: /data/workspaces
depends_on:
postgres:
condition: service_healthy
postgres:
image: postgres:16-alpine
environment:
POSTGRES_DB: finn
POSTGRES_USER: finn
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-finnpass}
ports:
- "${POSTGRES_PORT:-5432}:5432"
volumes:
- finn-db:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U finn -d finn"]
interval: 5s
timeout: 5s
retries: 10
volumes:
finn-node-modules:
finn-logs:
finn-db:
finn-workspaces:
name: finn-workspaces