Docker Community Forums

Share and learn in the Docker community.

Docker-compose.yml and Docker


I have a real newbie question as I have just recently started working with Docker. I know should be working it out using documentation, but I am short on time and just need to sort an implementation out.

I have been give some Go code that runs a basic web site and api. The structure is:

$ api
- Dockerfile
- *.go

Running tests using docker-compose.yml and Docker CE works fine. I am trying to deploy this app with AWS EKS and Jenkins X (which I have running successfully). My question is how do I transfer the environment information (DB password etc) from docker-compose.yml into a format for use with the deployment I am trying to make.

Even a pointer to some relevant docs/example would set me on my way.

Thanks for any help.