forked from e2b-dev/E2B
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
50 lines (47 loc) · 1.97 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
version: "3.8"
services:
api:
image: e2b/api:latest
build:
context: ./api-service
environment:
- PORT=49155
- NEXT_PUBLIC_SUPABASE_URL=http://supabase_kong_workspace:8000
# The following default key is generated by the local Supabase start and doesn't change
- SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0
expose:
- 49155
external_links:
- supabase_kong_workspace
- supabase_db_workspace
networks:
- supabase-local-net
app:
image: e2b/app:latest
build:
context: ./
args:
NEXT_PUBLIC_SUPABASE_URL: http://supabase_kong_workspace:8000
NEXT_PUBLIC_API_URL: http://api:49155
NEXT_PUBLIC_PROXY: 1
NEXT_PUBLIC_SIGN_IN_EMAIL: admin@admin.com
NEXT_PUBLIC_SIGN_IN_PASSWORD: admin@admin.com
# The following default key is generated by the local Supabase start and doesn't change
NEXT_PUBLIC_SUPABASE_ANON_KEY: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImV4cCI6MTk4MzgxMjk5Nn0.EGIM96RAZx35lJzdJsyH-qQwv8Hdp7fsn3W0YpN81IU
external_links:
- supabase_kong_workspace
- supabase_db_workspace
environment:
- NODE_ENV=development
- SUPABASE_POSTGRES_URL=postgresql://postgres:postgres@supabase_db_workspace:5432/postgres
# The following default key is generated by the local Supabase start and doesn't change
- SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0
ports:
- 3000:3000
networks:
- supabase-local-net
networks:
supabase-local-net:
# This name identified the network with supabase containers started with `supabase start`.
name: supabase_network_workspace
external: true