Closed gcampo88 closed 7 years ago
Huh... everything is working for me fine locally through docker, though I can see that it's not working in Codebuild. Which commands send you into a Waiting for postgres
loop? Going to add LOCAL_ENV -> true in docker-compose.yml, possible it wasn't getting that value correctly before...
Okay, so summary of changes this may or may not need to work in CodeBuild / ECS ...
POSTGRES_USER
and POSTGRES_PASSWORD
to the env-exampleRELX_REPLACE_OS_VARS
to the dockerfile|| "${ENV_VAR_NAME}"
s to the config.exsdocker-compose start db
step in the README (i think it just auto-starts the db)config :jingle, :env_config, ...
in your config.exs, as Env.get tries to pull from that.env
, your docker-compose-ci.yml should just define all the ENVs inline (see feeder + castle for example) ... or just use the env-example:+yay: that'll do, PR. that'll do.
Addresses #33. Also a good opportunity to do a high-level review of general API design and schema.