Skip to content

determine best approach for env variables in docker #4

@elrayle

Description

@elrayle

Description

Determine how best to provide username, password, service and database connection info to docker in a way that prevents the info going into GitHub.

Background

We currently store users, password, service and database info in .env files. Examples for docker put this info directly in the docker-compose.yml file. This file has valuable setup information that we want to store in GitHub, but we don't want to store the private env file info.

Approaches to explore

  • docker secret
  • environment variables
  • use of .env files with docker
  • Yale has a section in the web definition in the docker-compose.yml that includes a reference to .env and .secret

The approach should be compatible with deployment on localhost, dev-vm server, and AWS server.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions