-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9c75e7c
commit 80461da
Showing
1 changed file
with
1 addition
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,94 +8,13 @@ image: benborgers/emojicdn | |
servers: | ||
- 5.161.225.249 | ||
|
||
# Credentials for your image host. | ||
registry: | ||
# Specify the registry server, if you're not using Docker Hub | ||
# server: registry.digitalocean.com / ghcr.io / ... | ||
username: benborgers | ||
|
||
# Always use an access token rather than real password when possible. | ||
# Use a Docker Hub access token. | ||
password: | ||
- KAMAL_REGISTRY_PASSWORD | ||
# Inject ENV variables into containers (secrets come from .env). | ||
# Remember to run `kamal env push` after making changes! | ||
# 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://[email protected] | ||
|
||
# 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:/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. Be sure to reboot traefik when you modify it. | ||
# traefik: | ||
# args: | ||
# accesslog: true | ||
# accesslog.format: json | ||
|
||
# Configure a custom healthcheck (default is /up on port 3000) | ||
healthcheck: | ||
path: /random | ||
port: 3000 | ||
max_attempts: 30 | ||
log_lines: 1000 | ||
# Bridge fingerprinted assets, like JS and CSS, between versions to avoid | ||
# hitting 404 on in-flight requests. Combines all files from new and old | ||
# version inside the asset_path. | ||
# | ||
# If your app is using the Sprockets gem, ensure it sets `config.assets.manifest`. | ||
# See https://github.com/basecamp/kamal/issues/626 for details | ||
# | ||
# asset_path: /rails/public/assets | ||
|
||
# Configure rolling deploys by setting a wait time between batches of restarts. | ||
# boot: | ||
# limit: 10 # Can also specify as a percentage of total hosts, such as "25%" | ||
# wait: 2 | ||
|
||
# Configure the role used to determine the primary_host. This host takes | ||
# deploy locks, runs health checks during the deploy, and follow logs, etc. | ||
# | ||
# Caution: there's no support for role renaming yet, so be careful to cleanup | ||
# the previous role on the deployed hosts. | ||
# primary_role: web | ||
|
||
# Controls if we abort when see a role with no hosts. Disabling this may be | ||
# useful for more complex deploy configurations. | ||
# | ||
# allow_empty_roles: false |