-
Notifications
You must be signed in to change notification settings - Fork 3
/
compose.yml
46 lines (42 loc) · 1.12 KB
/
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
version: '3.8'
services:
kinotio-gelda-app:
container_name: kinotio_gelda_app
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/app
- /app/node_modules
ports:
- '3000:3000'
environment:
SUPABASE_URL: http://localhost:54321
SUPABASE_ANON_KEY: <your-supabase-anon-key>
depends_on:
- kinotio-gelda-supabase
command: pnpm install && pnpm dev
kinotio-gelda-supabase:
image: supabase/postgres:15.2.0
container_name: kinotio_gelda_supabase
ports:
- '54321:5432'
environment:
SUPABASE_URL: http://localhost:54321
POSTGRES_PASSWORD: supersecurepassword
POSTGRES_DB: gelda
volumes:
- supabase-data:/var/lib/postgresql/data
kinotio-gelda-supabase-studio:
image: supabase/postgres-meta:15.2.0
container_name: kinotio_gelda_supabase_studio
ports:
- '54323:8080'
environment:
SUPABASE_URL: http://supabase:5432
SUPABASE_ANON_KEY: <your-supabase-anon-key>
SUPABASE_JWT_SECRET: <your-supabase-jwt-secret>
depends_on:
- kinotio-gelda-supabase
volumes:
supabase-data: