Deployement on cloud providers
Recontent.app can be deployed to any cloud provider (eg. AWS, Azure, DigitalOcean) which offers a docker-based platform & postgres databases.
For example, here are services that can be used on various cloud providers:
Amazon Web Services (AWS)
AWS ECS
AWS RDS
Microsoft Azure
Azure container apps
Azure Database for PostgreSQL
Digital Ocean
Digital Ocean App platform
Digital Ocean Databases
Here's an example step-by-step guide to follow on Digital Ocean to run Recontent.app.
Digital Ocean
Create a new project
Create a new database
Go to Manage > Databases
Click "Create database"
Choose a datacenter region
Select "PostgreSQL" as database engine
Update database configuration based on your needs
Click "Create Database Cluster"
Start a recontentapp-migrate
docker container as described in "Setting up the database"
Make sure to use the connection string available on the database page
Create a new app
Go to Manage > App Platform
Click "Create App"
Select "GitHub Container Registry" as service provider
Enter "recontentapp/recontentapp" as Repository
Enter "0.8.1" as Image tag
Click "Next"
Ensure "Web Service" is selected as Resource Type
Click "Next"
Add environment variables as described in "Running Recontent.app"
Make sure to add
PORT
8080
Click "Next"
Review info & click "Next"
Once the app is started & its public URL has been generated, make sure to edit the
APP_URL
&API_URL
environment variables. For example, ifclownfish-app-zbfol
is the name of your app,https://clownfish-app-zbfol.ondigitalocean.app
should be used.
Last updated