-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
53 lines (52 loc) · 1.59 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
version: "3"
services:
refeed-web:
image: refeed-web
build:
context: .
dockerfile: ./apps/web/Dockerfile
args:
- NEXT_PUBLIC_SUPABASE_URL=${NEXT_PUBLIC_SUPABASE_URL}
- NEXT_PUBLIC_SUPABASE_ANON_KEY=${NEXT_PUBLIC_SUPABASE_ANON_KEY}
- NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=${NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY}
# Temporary
# - OPENAI_API_KEY=${OPENAI_API_KEY}
restart: always
environment:
- DATABASE_URL=${DATABASE_URL}
- NEXT_PUBLIC_SUPABASE_URL=${NEXT_PUBLIC_SUPABASE_URL}
- NEXT_PUBLIC_SUPABASE_ANON_KEY=${NEXT_PUBLIC_SUPABASE_ANON_KEY}
- STRIPE_SECRET_KEY=${STRIPE_SECRET_KEY}
- STRIPE_WEBHOOK_SECRET=${STRIPE_WEBHOOK_SECRET}
- NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=${NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY}
- ICON_BUCKET_URL=${ICON_BUCKET_URL}
- NEXT_PUBLIC_POSTHOG_KEY=${NEXT_PUBLIC_POSTHOG_KEY}
- NEXT_PUBLIC_POSTHOG_HOST={NEXT_PUBLIC_POSTHOG_HOST}
ports:
- 3000:3000
ulimits:
nproc: 65535
nofile:
soft: 20000
hard: 40000
refeed-backend:
image: refeed-backend
build:
context: ./packages/core/
dockerfile: ./Dockerfile
env_file:
- .env
restart: always
ports:
- 4050:4050
ulimits:
nproc: 65535
nofile:
soft: 100000
hard: 150000
environment:
- DATABASE_URL=${DATABASE_URL}
- IMAGE_ACCOUNT_ID=${IMAGE_ACCOUNT_ID}
- IMAGE_ACCESS_KEY_ID=${IMAGE_ACCESS_KEY_ID}
- IMAGE_ACCESS_KEY_SECRET=${IMAGE_ACCESS_KEY_SECRET}
- IMAGE_BUCKET_URL=${IMAGE_BUCKET_URL}