@@ -34,8 +34,10 @@ registry:
34
34
# Inject ENV variables into containers (secrets come from .kamal/secrets).
35
35
env :
36
36
secret :
37
- - RAILS_MASTER_KEY
37
+ - HEALTH_CARDS_HOST
38
38
- POSTGRES_PASSWORD
39
+ - RAILS_MASTER_KEY
40
+ - WEBAUTHN_ORIGIN
39
41
clear :
40
42
# Run the Solid Queue Supervisor inside the web server's Puma process to do jobs.
41
43
# When you start using multiple servers, you should split out job processing to a dedicated machine.
48
50
# WEB_CONCURRENCY: 2
49
51
50
52
# 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.
53
54
DB_HOST : open-lis-db
54
- POSTGRES_USER : open_lis
55
55
56
56
# Log everything from Rails
57
57
# RAILS_LOG_LEVEL: debug
@@ -68,24 +68,24 @@ aliases:
68
68
# Use a persistent storage volume for sqlite database files and local Active Storage files.
69
69
# Recommended to change this to a mounted volume path that is backed up off server.
70
70
# volumes:
71
- # - "open_lis_storage :/rails/storage"
71
+ # - "open-lis_storage :/rails/storage"
72
72
73
73
74
74
# Bridge fingerprinted assets, like JS and CSS, between versions to avoid
75
75
# hitting 404 on in-flight requests. Combines all files from new and old
76
76
# version inside the asset_path.
77
- # asset_path: /rails/public/assets
77
+ asset_path : /rails/public/assets
78
78
79
79
# Configure the image builder.
80
80
builder :
81
81
arch : arm64
82
82
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)
84
84
# 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
87
87
# args:
88
- # RUBY_VERSION: 3.4.3
88
+ # RUBY_VERSION: 3.4.4
89
89
# secrets:
90
90
# - GITHUB_TOKEN
91
91
# - RAILS_MASTER_KEY
@@ -97,9 +97,9 @@ builder:
97
97
# Use accessory services (secrets come from .kamal/secrets).
98
98
accessories :
99
99
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 "
103
103
env :
104
104
clear :
105
105
POSTGRES_DB : open_lis_production
0 commit comments