forked from keephq/keep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
53 lines (53 loc) · 1.55 KB
/
docker-compose.dev.yml
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
services:
keep-frontend-dev:
build:
dockerfile: docker/Dockerfile.dev.ui
ports:
- '3000:3000'
environment:
- NEXTAUTH_SECRET=secret
- NEXTAUTH_URL=http://localhost:3000
- NEXT_PUBLIC_API_URL=http://localhost:8080
- API_URL=http://keep-backend-dev:8080
- NEXT_PUBLIC_POSTHOG_KEY=phc_muk9qE3TfZsX3SZ9XxX52kCGJBclrjhkP9JxAQcm1PZ
- NEXT_PUBLIC_POSTHOG_HOST=https://app.posthog.com
- NEXT_PUBLIC_PUSHER_HOST=localhost
- NEXT_PUBLIC_PUSHER_PORT=6001
- NEXT_PUBLIC_PUSHER_APP_KEY=keepappkey
volumes:
- ./keep-ui:/app
- /app/node_modules
- /app/.next
depends_on:
- keep-backend-dev
keep-backend-dev:
build:
dockerfile: docker/Dockerfile.dev.api
ports:
- '8080:8080'
environment:
- PORT=8080
- SECRET_MANAGER_TYPE=FILE
- SECRET_MANAGER_DIRECTORY=/state
- DATABASE_CONNECTION_STRING=sqlite:////db.sqlite3?check_same_thread=False
- USE_NGROK=true
- OPENAI_API_KEY=$OPENAI_API_KEY
- PUSHER_APP_ID=1
- PUSHER_APP_KEY=keepappkey
- PUSHER_APP_SECRET=keepappsecret
- PUSHER_HOST=keep-websocket-server
- PUSHER_PORT=6001
volumes:
- .:/app
- ./state:/state
keep-websocket-server:
image: quay.io/soketi/soketi:1.4-16-debian
ports:
- "6001:6001"
- "9601:9601"
environment:
- SOKETI_USER_AUTHENTICATION_TIMEOUT=3000
- SOKETI_DEBUG=1
- SOKETI_DEFAULT_APP_ID=1
- SOKETI_DEFAULT_APP_KEY=keepappkey
- SOKETI_DEFAULT_APP_SECRET=keepappsecret