chore: update prod-compose to use file-envs for secrets
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon 2025-12-03 12:38:24 +01:00
parent ee094eec2f
commit d8384098b4
Signed by: simon
GPG key ID: 40E7A58C4AA1EDB2
5 changed files with 66 additions and 18 deletions

View file

@ -140,11 +140,10 @@ if config_env() == :prod do
config :mv, MvWeb.Endpoint,
url: [host: host, port: 443, scheme: "https"],
http: [
# Enable IPv6 and bind on all interfaces.
# Set it to {0, 0, 0, 0, 0, 0, 0, 1} for local network only access.
# Bind on all IPv4 interfaces.
# Use {0, 0, 0, 0, 0, 0, 0, 0} for IPv6, or {127, 0, 0, 1} for localhost only.
# See the documentation on https://hexdocs.pm/bandit/Bandit.html#t:options/0
# for details about using IPv6 vs IPv4 and loopback vs public addresses.
ip: {0, 0, 0, 0, 0, 0, 0, 0},
ip: {0, 0, 0, 0},
port: port
],
secret_key_base: secret_key_base,