AWS RDS
Outline uses Postgres as its primary data store. We recommend you use a managed service like RDS to host your database.
Setting up RDS
If you haven’t set up RDS before, follow this Amazon tutorial to get started https://aws.amazon.com/getting-started/tutorials/create-connect-postgresql-db/
Outline doesn't take too much database space, so you should be ok with a db.t3.micro and just 1GB of storage (the tutorial uses 20)
Configuring Outline
Once you’ve provisioned an RDS instance, you will need to update docker.env on your install in the following way:
Update
DATABASE_URL,POSTGRES_USER, andPOSTGRES_PASSWORDto your new database values.Comment out the configuration line for
PGSSLMODE. (SSL is enabled by default) and save these changes.Run the following command to migrate your new database
sudo docker compose run --rm outline yarn db:migrateTo check if things are working, restart your server with:
sudo docker compose stopsudo docker compose up -d