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