Docker support is currently still not fully stable. Contributions via pull requests or issues are very welcome and appreciated.
Create a new Supabase project
You can also self-host Supabase on your own infrastructure.
Learn more.
You’ll need a Supabase account to get started. Sign up if you don’t have one already.
Once you’ve signed up, create a new project. You can do this by clicking on the “New Project” button or by following this link.
Migrate your database
Once you’ve created a new project, you’ll need to migrate your database. You can do this the following ways:
Click here and follow the instructions to fork the Feedbase repository and migrate your database automatically.
For this method, you’ll need to install the Supabase CLI. View the installation instructions here.
Clone the Feedbase repository
git clone https://github.com/chroxify/feedbase.git && cd feedbase
Link your project
supabase link --project-ref <project-id>
You can find your project ID in the URL of your Supabase project dashboard or via runnning supabase projects list
.
If everything went successful, you should be able to see a populated database in your Supabase dashboard.
Go to your Project's SQL Editor
Click on the SQL tab in your project dashboard or follow this link.
Run the migrations
Copy and paste all the contents of each file in the supabase/migrations
folder of the Feedbase repository into the SQL editor and run them.
Verify the migrations
If everything went successful, you should be able to see a populated database in your Supabase dashboard.
Prepare your environment variables
Once you’ve migrated your database, you’ll need to prepare all necessary environment variables for the next step.
You can find a list of all environment variables and where to find them here.
Installation
- Clone the Feedbase repository.
git clone https://github.com/chroxify/feedbase.git && cd feedbase
- Create a
.env
file.
-
Update the .env
file with your environment variables.
-
Either run the pre-built Docker image or build and run the Docker image yourself.
Pull the Docker image
docker pull chroxify/feedbase
Run the Docker image
If you don’t want to run the container in detached mode, you can remove the -d
flag.
docker run -d --env-file .env -p 3000:3000 chroxify/feedbase
Verify the installation
If everything went successful, you should be able to see a running Feedbase instance by visiting http://localhost:3000
in your browser.
Build the Docker image
docker build -f apps/web/Dockerfile -t feedbase .
Run the Docker image
If you don’t want to run the container in detached mode, you can remove the -d
flag.
docker run -d --env-file .env -p 3000:3000 feedbase
Verify the installation
If everything went successful, you should be able to see a running Feedbase instance by visiting http://localhost:3000
in your browser.