forked from ElricLiu/AutoGPT-Next-Web
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
29 lines (27 loc) · 779 Bytes
/
docker-compose.dev.yml
File metadata and controls
29 lines (27 loc) · 779 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
version: '3'
volumes:
db:
src:
public:
services:
autogpt:
build:
context: .
dockerfile: dev.Dockerfile
args:
NEXTAUTH_URL: http://localhost:3000
DATABASE_URL: file:./db.sqlite
SKIP_ENV_VALIDATION: 1 # omit this property to enable schema validation for the environment variables
container_name: autogpt
environment:
OPENAI_API_KEY: ${OPENAI_API_KEY} # openai api key
NEXT_PUBLIC_WEB_SEARCH_ENABLED: ${NEXT_PUBLIC_WEB_SEARCH_ENABLED} # enable web search
SERP_API_KEY: ${SERP_API_KEY} # serp api key
NEXT_PUBLIC_GUEST_KEY: ${NEXT_PUBLIC_GUEST_KEY} # guest key
ports:
- 3000:3000
volumes:
- src:/app/src
- public:/app/public
- db:/app/db
restart: unless-stopped