add sqlcipher support to docker build
- Install sqlcipher-dev in builder stage - Configure exqlite to use system SQLCipher - Add sqlcipher-libs to runtime image - Exclude mockups/ from live reload patterns Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import Config
|
||||
|
||||
# Configure your database
|
||||
# Optional: set SECRET_KEY_DB to test SQLCipher encryption locally
|
||||
config :berrypod, Berrypod.Repo,
|
||||
database: Path.expand("../berrypod_dev.db", __DIR__),
|
||||
pool_size: 5,
|
||||
@@ -12,6 +13,7 @@ config :berrypod, Berrypod.Repo,
|
||||
stacktrace: true,
|
||||
show_sensitive_data_on_connection_error: true
|
||||
|
||||
|
||||
# For development, we disable any cache and enable
|
||||
# debugging and code reloading.
|
||||
#
|
||||
@@ -68,7 +70,7 @@ config :berrypod, BerrypodWeb.Endpoint,
|
||||
live_reload: [
|
||||
web_console_logger: true,
|
||||
patterns: [
|
||||
~r"priv/static/(?!uploads/).*(js|css|png|jpeg|jpg|gif|svg)$",
|
||||
~r"priv/static/(?!uploads/|mockups/).*(js|css|png|jpeg|jpg|gif|svg)$",
|
||||
~r"priv/gettext/.*(po)$",
|
||||
~r"lib/berrypod_web/(?:controllers|live|components|router)/?.*\.(ex|heex)$"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user