hardware / mailserver

:warning: UNMAINTAINED - Simple and full-featured mail server using Docker
https://store.docker.com/community/images/hardware/mailserver
MIT License
1.29k stars 322 forks source link

docker compose functionality #413

Closed n1md4 closed 4 years ago

n1md4 commented 5 years ago

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?

sknight80 commented 5 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?

stale[bot] commented 4 years ago

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.

sknight80 commented 4 years ago

@n1md4 do you have your docker-compose.yml snippet so I can help you in this if you still have this problem.

n1md4 commented 4 years ago

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.