@@ -34,8 +34,11 @@ 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
+ - HEALTH_CARDS_KEY_PEM
38
39
- POSTGRES_PASSWORD
40
+ - RAILS_MASTER_KEY
41
+ - WEBAUTHN_ORIGIN
39
42
clear :
40
43
# Run the Solid Queue Supervisor inside the web server's Puma process to do jobs.
41
44
# When you start using multiple servers, you should split out job processing to a dedicated machine.
48
51
# WEB_CONCURRENCY: 2
49
52
50
53
# 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
54
+ # Use open-lis-db for a db accessory server on same machine via local kamal docker network.
53
55
DB_HOST : open-lis-db
54
- POSTGRES_USER : open_lis
55
56
56
57
# Log everything from Rails
57
58
# RAILS_LOG_LEVEL: debug
@@ -68,24 +69,24 @@ aliases:
68
69
# Use a persistent storage volume for sqlite database files and local Active Storage files.
69
70
# Recommended to change this to a mounted volume path that is backed up off server.
70
71
# volumes:
71
- # - "open_lis_storage :/rails/storage"
72
+ # - "open-lis_storage :/rails/storage"
72
73
73
74
74
75
# Bridge fingerprinted assets, like JS and CSS, between versions to avoid
75
76
# hitting 404 on in-flight requests. Combines all files from new and old
76
77
# version inside the asset_path.
77
- # asset_path: /rails/public/assets
78
+ asset_path : /rails/public/assets
78
79
79
80
# Configure the image builder.
80
81
builder :
81
82
arch : arm64
82
83
83
- # # Build image via remote server (useful for faster amd64 builds on arm64 computers)
84
+ # Build image via remote server (useful for faster amd64 builds on arm64 computers)
84
85
# remote: ssh://docker@docker-builder-server
85
- #
86
- # # Pass arguments and secrets to the Docker build process
86
+
87
+ # Pass arguments and secrets to the Docker build process
87
88
# args:
88
- # RUBY_VERSION: 3.4.3
89
+ # RUBY_VERSION: 3.4.4
89
90
# secrets:
90
91
# - GITHUB_TOKEN
91
92
# - RAILS_MASTER_KEY
@@ -97,9 +98,9 @@ builder:
97
98
# Use accessory services (secrets come from .kamal/secrets).
98
99
accessories :
99
100
db :
100
- image : postgres:17.0
101
- host : 192.0.2.2
102
- port : " 127.0.0.1:5432:5432"
101
+ image : postgres:17
102
+ host : 192.0.2.1
103
+ port : " 127.0.0.1:5432:5432 --publish [::1]:5432:5432 "
103
104
env :
104
105
clear :
105
106
POSTGRES_DB : open_lis_production
0 commit comments