Most of programs will not accept an email using just @localhost as domain.
So, edit /etc/hosts file to make the domain localhost.com point to your machine, including this content to the file:
127.0.0.1 localhost.com
| version: '3.3' | |
| services: | |
| # RabbitMQ - Broker | |
| rabbit: | |
| hostname: rabbitmq | |
| image: rabbitmq:3-management | |
| environment: | |
| - RABBITMQ_DEFAULT_USER=user | |
| - RABBITMQ_DEFAULT_PASS=password |
| # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
Most of programs will not accept an email using just @localhost as domain.
So, edit /etc/hosts file to make the domain localhost.com point to your machine, including this content to the file:
127.0.0.1 localhost.com