Spaces:
Build error
Build error
File size: 779 Bytes
b3594fb |
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 |
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
|