## Supabase Stack Files Generator

Generated by: https://www.joemore.dev/supabase-add-backend-stack

The tool creates files needed to deploy a Supabase stack on a Linux server using Docker Compose.

## This zip contains:

- .env
- docker-compose.yml
- setup-supabase-volumes.sh
- test-supabase-endpoints.sh
- README.md 

## .env File - IMPORTANT:

.env is hidden by default on macOS and Linux. To view hidden files you can use the following shortcuts:
* macOS: Cmd + Shift + .
* Windows: View → Hidden items
* Linux: Varies by file manager but often Ctrl + H

## Port Conflicts:

## Steps:

1) Extract this zip into an empty folder
2) Ensure the .env file is present
3) Run the `setup-supabase-volumes.sh` script to create Docker volumes to your own location.

```bash
chmod +x setup-supabase-volumes.sh
./setup-supabase-volumes.sh
```

4) Run:
   docker compose up -d



## Removing the Supabase Stack

```bash
cd ~/Develop/ubuntu-home-server/stacks/11-supabase-stacks/{your-supabase-stack-folder}
docker compose down -v --remove-orphans
sudo rm -rf /data/supabase/{your-supabase-stack-folder}
```
