-
Notifications
You must be signed in to change notification settings - Fork 240
/
docker-compose.yml
62 lines (60 loc) · 1.68 KB
/
docker-compose.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
54
55
56
57
58
59
60
61
62
services:
postgres:
image: postgres:16
restart: always
environment:
POSTGRES_USER: app
POSTGRES_DB: app_development
POSTGRES_PASSWORD: secret
volumes:
- hostedgpt_pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD", "pg_isready", "-U", "app", "-d", "app_development"]
interval: 1s
retries: 5
base: &base
depends_on: ["postgres"]
restart: on-failure:3
tty: true
build:
context: .
target: development
environment:
# Be sure to add environment variables to config/options.yml
- DATABASE_URL=postgres://app:secret@postgres/app_development
- DEV_HOST=${DEV_HOST:-localhost} # Set if you want to use a different hostname
- OVERMIND_COLORS=2,3,5
- ALLOWED_REQUEST_ORIGINS
- REGISTRATION_FEATURE
- DEFAULT_LLM_KEYS_FEATURE
- CLOUDFLARE_STORAGE_FEATURE
- GOOGLE_TOOLS_FEATURE
- PASSWORD_AUTHENTICATION_FEATURE
- GOOGLE_AUTHENTICATION_FEATURE
- HTTP_HEADER_AUTHENTICATION_FEATURE
- VOICE_FEATURE
- DEFAULT_TO_VOICE_FEATURE
- EMAIL_FEATURE
- PASSWORD_RESET_EMAIL_FEATURE
- PRODUCT_NAME
- DEFAULT_OPENAI_KEY
- DEFAULT_ANTHROPIC_KEY
- DEFAULT_GROQ_KEY
- CLOUDFLARE_ACCOUNT_ID
- CLOUDFLARE_ACCESS_KEY_ID
- CLOUDFLARE_SECRET_ACCESS_KEY
- CLOUDFLARE_BUCKET
- GOOGLE_AUTH_CLIENT_ID
- GOOGLE_AUTH_CLIENT_SECRET
- HTTP_HEADER_AUTH_EMAIL
- HTTP_HEADER_AUTH_NAME
- HTTP_HEADER_AUTH_UID
- EMAIL_PROVIDER
- EMAIL_FROM
- EMAIL_HOST
- POSTMARK_SERVER_API_TOKEN
ports: ["3000:3000"]
volumes:
- .:/rails
volumes:
hostedgpt_pgdata: