Skip to content

Commit

Permalink
chore: add supabase files to cli package
Browse files Browse the repository at this point in the history
  • Loading branch information
maneike committed Nov 6, 2024
1 parent 65346f4 commit 275d680
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions packages/cli/templates/supabase/files/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
services:
postgres:
image: postgres:17
container_name: stapler-postgres
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
POSTGRES_DB: postgres
ports:
- '5432:5432'
volumes:
- pg_data:/var/lib/postgresql/data

volumes:
pg_data:
2 changes: 1 addition & 1 deletion packages/cli/templates/supabase/installConfig.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const supabaseFiles = [
{
path: 'supabase/src/',
files: ['client.ts', 'index.ts', 'middleware.ts', 'server.ts', 'types.ts'],
files: ['client.ts', 'index.ts', 'middleware.ts', 'server.ts', 'types.ts', 'docker-compose.yml'],
},
{
path: 'supabase/',
Expand Down

0 comments on commit 275d680

Please sign in to comment.