Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Scalingo/metabase-scalingo
Deploy Metabase on Scalingo
https://github.com/Scalingo/metabase-scalingo
metabase one-click-deploy scalingo
Last synced: about 2 months ago
JSON representation
Deploy Metabase on Scalingo
- Host: GitHub
- URL: https://github.com/Scalingo/metabase-scalingo
- Owner: Scalingo
- Created: 2018-11-26T15:56:19.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-31T09:31:58.000Z (over 1 year ago)
- Last Synced: 2024-05-17T16:33:40.097Z (8 months ago)
- Topics: metabase, one-click-deploy, scalingo
- Language: Shell
- Homepage:
- Size: 50.8 KB
- Stars: 2
- Watchers: 8
- Forks: 21
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-scalingo - Github - started/getting-started-with-metabase) (Apps deployable on Scalingo / Apps deployed with buildpacks or other adaptation)
README
![Metabase](metabase.png)
# Deploying Metabase to Scalingo
## Deploying Using Scalingo's One-click Button
Click on the button below to deploy Metabase to Scalingo within minutes.
[![Deploy](https://cdn.scalingo.com/deploy/button.svg)](https://my.scalingo.com/deploy?source=https://github.com/Scalingo/metabase-scalingo#master)
## Deploying Using Scalingo's Command Line Tool
1. Create an application on Scalingo:
```bash
$ scalingo create my-metabase
```2. Add a PostgreSQL for the internal usage of Metabase:
```bash
$ scalingo --app my-metabase addons-add postgresql postgresql-starter-512
```3. Configure your application to use the appropriate buildpack for deployments:
```bash
$ scalingo --app my-metabase env-set 'BUILDPACK_URL=https://github.com/Scalingo/multi-buildpack'
```4. Clone this repository:
```bash
$ git clone https://github.com/Scalingo/metabase-scalingo
```5. Configure `git`:
```bash
$ cd metabase-scalingo
$ scalingo --app my-metabase git-setup
```6. Deploy the application:
```bash
$ git push scalingo master
```# Configuring the Application Deployment Environment
The following environment variables are available for you to adjust, depending
on your needs:| Name | Description | Default value |
| -------------------- | ---------------------------------------------------------------------------------------- | ----------------------------------------------- |
| `BUILDPACK_URL` | URL of the buildpack to use. | https://github.com/Scalingo/multi-buildpack.git |
| `DATABASE_URL` | URL of your database addon. **Only available if you have a database addon provisioned**. | Provided by Scalingo |
| `MAX_METASPACE_SIZE` | Maximum amount of memory allocated to Java Metaspace[^1]. | `512m` (512MB) |Metabase also [supports many environment variables](https://www.metabase.com/docs/latest/operations-guide/environment-variables.html).
[^1]: See https://wiki.openjdk.org/display/HotSpot/Metaspace for further details about Java Metaspace.
# Updating Metabase on Scalingo
To upgrade to the latest version of Metabase, you only need to redeploy it,
this will retrieve the latest version avaible on [the Metabase buildpack](https://github.com/metabase/metabase-buildpack).## Updating After Deploying Using Scalingo's One-click Button
If you deployed your Metabase instance via our One-click button, you can update
it with the following command:```bash
$ scalingo --app my-metabase deploy https://github.com/Scalingo/metabase-scalingo/archive/refs/heads/master.tar.gz
```If you are facing the `create archive deployment: * git_ref → can't be blank` error, you may need to specify the version explicitly:
```bash
$ scalingo --app my-metabase deploy https://github.com/Scalingo/metabase-scalingo/archive/refs/heads/master.tar.gz v1.0.0
```## Updating After Deploying Using Scalingo's Command Line Tool
```bash
$ cd metabase-scalingo
$ git pull origin master
$ git push scalingo master
```