Install netcat in the dev container and make the database hostname configurable.

- build(devcontainer): Install netcat-traditional package
- feat(config): Make database hostname configurable via DB_HOST env var
This commit is contained in:
Drew Bonasera
2026-04-27 02:33:06 -04:00
parent 16e86b0bda
commit a4988e5cd4
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -15,6 +15,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
vim \
net-tools \
procps \
netcat-traditional \
# Optionally add any other tools you need, e.g. vim, wget...
&& curl -sL https://deb.nodesource.com/setup_18.x | bash - \
&& apt-get install -y --no-install-recommends nodejs inotify-tools \
+1 -1
View File
@@ -4,7 +4,7 @@ import Config
config :wanderer_app, WandererApp.Repo,
username: "postgres",
password: "postgres",
hostname: "localhost",
hostname: System.get_env("DB_HOST", "localhost"),
database: "wanderer_dev",
stacktrace: true,
show_sensitive_data_on_connection_error: true,