@@ -34,8 +34,10 @@ registry:
3434# Inject ENV variables into containers (secrets come from .kamal/secrets).
3535env :
3636 secret :
37- - RAILS_MASTER_KEY
37+ - HEALTH_CARDS_HOST
3838 - POSTGRES_PASSWORD
39+ - RAILS_MASTER_KEY
40+ - WEBAUTHN_ORIGIN
3941 clear :
4042 # Run the Solid Queue Supervisor inside the web server's Puma process to do jobs.
4143 # When you start using multiple servers, you should split out job processing to a dedicated machine.
4850 # WEB_CONCURRENCY: 2
4951
5052 # Match this to any external database server to configure Active Record correctly
51- # Use rails803-db for a db accessory server on same machine via local kamal docker network.
52- # DB_HOST: 192.168.0.2
53+ # Use open-lis-db for a db accessory server on same machine via local kamal docker network.
5354 DB_HOST : open-lis-db
54- POSTGRES_USER : open_lis
5555
5656 # Log everything from Rails
5757 # RAILS_LOG_LEVEL: debug
@@ -68,24 +68,24 @@ aliases:
6868# Use a persistent storage volume for sqlite database files and local Active Storage files.
6969# Recommended to change this to a mounted volume path that is backed up off server.
7070# volumes:
71- # - "open_lis_storage :/rails/storage"
71+ # - "open-lis_storage :/rails/storage"
7272
7373
7474# Bridge fingerprinted assets, like JS and CSS, between versions to avoid
7575# hitting 404 on in-flight requests. Combines all files from new and old
7676# version inside the asset_path.
77- # asset_path: /rails/public/assets
77+ asset_path : /rails/public/assets
7878
7979# Configure the image builder.
8080builder :
8181 arch : arm64
8282
83- # # Build image via remote server (useful for faster amd64 builds on arm64 computers)
83+ # Build image via remote server (useful for faster amd64 builds on arm64 computers)
8484 # remote: ssh://docker@docker-builder-server
85- #
86- # # Pass arguments and secrets to the Docker build process
85+
86+ # Pass arguments and secrets to the Docker build process
8787 # args:
88- # RUBY_VERSION: 3.4.3
88+ # RUBY_VERSION: 3.4.4
8989 # secrets:
9090 # - GITHUB_TOKEN
9191 # - RAILS_MASTER_KEY
@@ -97,9 +97,9 @@ builder:
9797# Use accessory services (secrets come from .kamal/secrets).
9898accessories :
9999 db :
100- image : postgres:17.0
101- host : 192.0.2.2
102- port : " 127.0.0.1:5432:5432"
100+ image : postgres:17
101+ host : 192.0.2.1
102+ port : " 127.0.0.1:5432:5432 --publish [::1]:5432:5432 "
103103 env :
104104 clear :
105105 POSTGRES_DB : open_lis_production
0 commit comments