Skip to content

Commit

Permalink
🔐 Switch database url to environment variables for better Railway int…
Browse files Browse the repository at this point in the history
…egration
  • Loading branch information
Coding-Cactus committed Nov 19, 2023
1 parent 3ac47b8 commit 3bb2f32
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Apptus
https://apptus.online

Hosted on [Railway](https://railway.app/), runs on Ruby `3.2.1`, Rails 7, [Supabase](https://app.supabase.com/) for Postgres database, [MailerSend](https://app.mailersend.com/) for emails, [Mailcatcher](https://mailcatcher.me/) for development. Application performance monitoring sponsored by [AppSignal](https://www.appsignal.com/).
Server and PostgreSQL database Hosted on [Railway](https://railway.app/), runs on Ruby `3.2.1`, Rails 7, [MailerSend](https://app.mailersend.com/) for emails, [Mailcatcher](https://mailcatcher.me/) for development. Application performance monitoring sponsored by [AppSignal](https://www.appsignal.com/).

### Development Environment Variables
| Name | Value/Description |
Expand All @@ -20,14 +20,15 @@ Hosted on [Railway](https://railway.app/), runs on Ruby `3.2.1`, Rails 7, [Supab


### Production Environment Variables
| Name | Value/Description |
|:-------------------------|:---------------------------------------|
| RAILS_ENV | `production` |
| RAILS_MASTER_KEY | Secret key |
| RAILS_SERVE_STATIC_FILES | `1` |
| APPTUS_HOST | `apptus.online` |
| APPTUS_EMAIL_HOST | `apptus.online` |
| REDIS_URL | `${{Redis.REDIS_URL}}` (Railway thing) |
| Name | Value/Description |
|:-------------------------|:-----------------------------------------------------|
| RAILS_ENV | `production` |
| RAILS_MASTER_KEY | Secret key |
| RAILS_SERVE_STATIC_FILES | `1` |
| APPTUS_HOST | `apptus.online` |
| APPTUS_EMAIL_HOST | `apptus.online` |
| REDIS_URL | `${{Redis.REDIS_URL}}` (Railway thing) |
| DATABASE_URL | `${{Postgres.DATABASE_PRIVATE_URL}}` (Railway thing) |

### Contributing

Expand Down

0 comments on commit 3bb2f32

Please sign in to comment.