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.

  1. Login to Elest.io
  2. Click 'Create new service' in the top right corner
  3. Search "llana" and select
  4. Choose your hosting partner and configurations
  5. Once deployed, add your environment variable and custom domain name

Full details available here.

Docker

  1. Choose your preferred cloud provider (ideally in the same location as your database)
  2. 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}
  1. Add your environment variable, paying special attention to the DATABASE_URI, JWT_KEY and DOMAIN
#Base
DATABASE_URI="mysql://user:pass@host:port/database"
JWT_KEY="secret"
DOMAIN="your.app.domain"

#Delete Settings
SOFT_DELETE_COLUMN=deletedAt

  1. Once complete, you an easily add your own domain name following your hosting providers instructions.