Closed kamalpanhwar closed 5 years ago
Refer to the official Compose file spec: https://docs.docker.com/compose/compose-file/#environment
Great, I added following lines in my docker-compose.yml file and it worked
environment:
SPW:yourpassword
HPW:yourpassword
Thanks.
I am using this Dockerfile in docker-compose.yml but how do I define passwords in this file or Dockerfile, so I can access server programmatically.