-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (39 loc) · 957 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
41 lines (39 loc) · 957 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
services:
api:
build:
context: .
dockerfile: apps/api/Dockerfile
args:
- DB_FILENAME=file:/app/data/db.sqlite
restart: unless-stopped
environment:
- NODE_ENV=PRODUCTION
- PORT=8080
- DB_FILENAME=file:/app/data/db.sqlite
- FRONTEND_URL=http://web:3000
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
volumes:
- /home/andy/data:/app/data
networks:
- internal
web:
ports:
- '3001:3000'
build:
context: .
dockerfile: apps/web/Dockerfile
args:
- NEXT_PUBLIC_ANALYTICS_URL=${NEXT_PUBLIC_ANALYTICS_URL}
- NEXT_PUBLIC_ANALYTICS_UUID=${NEXT_PUBLIC_ANALYTICS_UUID}
- NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL}
restart: unless-stopped
environment:
- NODE_ENV=production
- INTERNAL_API_URL=http://api:8080
depends_on:
- api
networks:
- internal
networks:
internal:
driver: bridge