Closed n1md4 closed 4 years ago
Is the .env
file is next to the docker-compose.yml
file? When. You run the docker-compose up
command are you running it from the folder where you have the .env
file?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@n1md4 do you have your docker-compose.yml
snippet so I can help you in this if you still have this problem.
I believe this was resolved by using the appropriate domainname lines in the compose files. Thank you for the assist, and apologies for not responding sooner.
Classification
Reproducibility
Docker information
Not necessary
Description
Briefly describe the problem you are having in a few lines.
I have created a docker-compose file in order to deploy the mailserver on a Swarm stack with NFS storage.
The container mail fails with the following error:
[ERROR] The domain name must be set !
The .env file is not used as I declared all the variables into the compose file. How may I get around this?