sul-dlss / dlme

Digital Library of the Middle East web application, based on Spotlight
https://dlmenetwork.org/
Other
20 stars 2 forks source link

Figure out what we're doing with environment variables in docker for development #1456

Closed cbeer closed 1 year ago

cbeer commented 2 years ago

We have a couple approaches to environment variables in the docker-compose file for this project.

There's probably an opportunity to agree on a consistent approach, or at least document how to choose.

thatbudakguy commented 2 years ago

here's the approach in my head currently:

related to this is the assumption that we should aim to bake in as many envvars as possible in the Dockerfile based on the target environment, so that the compose file basically just wires the services together. hopefully everything in the .env file can be migrated out and we can reassess the minimum envvars actually needed for the services to communicate.

corylown commented 2 years ago

We can potentially close this issue because we plan to move the web application on premise, but we might want to address this if we plan to continue using docker for development.