Hosting
Our recommended hosting partner is Elestio as you can boot up a cloud based version of Llana with just a few clicks.
Elestio
You can visit the Llana page on Elest.io or follow the instructions below.
- Login to Elest.io
- Click 'Create new service' in the top right corner
- Search "llana" and select
- Choose your hosting partner and configurations
- Once deployed, add your environment variable and custom domain name
Full details available here.
Docker
- Choose your preferred cloud provider (ideally in the same location as your database)
- Use the following docker-compose.yml
name: llana
services:
llana-app:
container_name: llana-app
image: juicyllama/llana:latest
ports:
- "3000:3000"
environment:
DATABASE_URI: ${DATABASE_URI}
JWT_KEY: ${JWT_KEY}
DOMAIN: ${DOMAIN}
SOFT_DELETE_COLUMN: ${SOFT_DELETE_KEY}
- Add your environment variable, paying special attention to the
DATABASE_URI
,JWT_KEY
andDOMAIN
#Base
DATABASE_URI="mysql://user:pass@host:port/database"
JWT_KEY="secret"
DOMAIN="your.app.domain"
#Delete Settings
SOFT_DELETE_COLUMN=deletedAt
- Once complete, you an easily add your own domain name following your hosting providers instructions.