Sha256: df6207213b4f3053cf4a21bc306a65530cccafc7157d09633c21793565234a60
Contents?: true
Size: 1.6 KB
Versions: 2
Compression:
Stored size: 1.6 KB
Contents
# Name of your application. Used to uniquely configure containers. service: my-app # Name of the container image. image: user/my-app # Deploy to these servers. servers: - 192.168.0.1 # Credentials for your image host. registry: # Specify the registry server, if you're not using Docker Hub # server: registry.digitalocean.com / ghcr.io / ... username: my-user # Always use an access token rather than real password when possible. password: - KAMAL_REGISTRY_PASSWORD # Inject ENV variables into containers (secrets come from .env). # env: # clear: # DB_HOST: 192.168.0.2 # secret: # - RAILS_MASTER_KEY # Use a different ssh user than root # ssh: # user: app # Configure builder setup. # builder: # args: # RUBY_VERSION: 3.2.0 # secrets: # - GITHUB_TOKEN # remote: # arch: amd64 # host: ssh://app@192.168.0.1 # Use accessory services (secrets come from .env). # accessories: # db: # image: mysql:8.0 # host: 192.168.0.2 # port: 3306 # env: # clear: # MYSQL_ROOT_HOST: '%' # secret: # - MYSQL_ROOT_PASSWORD # files: # - config/mysql/production.cnf:/etc/mysql/my.cnf # - db/production.sql.erb:/docker-entrypoint-initdb.d/setup.sql # directories: # - data:/var/lib/mysql # redis: # image: redis:7.0 # host: 192.168.0.2 # port: 6379 # directories: # - data:/data # Configure custom arguments for Traefik # traefik: # args: # accesslog: true # accesslog.format: json # Configure a custom healthcheck (default is /up on port 3000) # healthcheck: # path: /healthz # port: 4000
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kamal-0.16.1 | lib/kamal/cli/templates/deploy.yml |
kamal-0.16.0 | lib/kamal/cli/templates/deploy.yml |