kamal.directory : simple rails app with sqlite

Submitted by @ashwin47

Kamal deploy.yml

service: kamal-directory

# Name of the container image.
image: ashwinmk2016/kamal-directory

# Deploy to these servers.
servers:
  web:
    hosts:
      - 164.92.71.135

# Credentials for your image host.
registry:
  # Specify the registry server, if you're not using Docker Hub
  # server: registry.digitalocean.com / ghcr.io / ...
  username: ashwinmk2016

  # Always use an access token rather than real password when possible.
  password:
    - KAMAL_REGISTRY_PASSWORD

# Inject ENV variables into containers (secrets come from .env).
# Remember to run `kamal env push` after making changes!
env:
  clear:
    RUBY_YJIT_ENABLE: 1
  secret:
    - RAILS_MASTER_KEY
    - GITHUB_CLIENT_ID
    - GITHUB_SECRET
volumes:
  - "storage:/rails/storage"

Explanation

Kamal Directory uses sqlite for database. Thus there is no need for an accessory services.