https://github.com/germdz/serviciosinternos
Simple ServerMail con Docker
https://github.com/germdz/serviciosinternos
docker
Last synced: 11 months ago
JSON representation
Simple ServerMail con Docker
- Host: GitHub
- URL: https://github.com/germdz/serviciosinternos
- Owner: gerMdz
- Created: 2021-08-20T15:28:59.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-11-04T18:40:21.000Z (over 3 years ago)
- Last Synced: 2025-07-14T11:51:02.662Z (about 1 year ago)
- Topics: docker
- Language: Makefile
- Homepage:
- Size: 7.81 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Servicios Internos
### Simple ServerMail con Docker
### Pre-requisitos 📋
_Opcional tener instalado make para automatizar algunos comandos_
```
$ sudo apt install make
$ sudo apt install build-essential
```
_Se debe tener instalado docker_
[https://linuxconfig.org/how-to-install-docker-on-ubuntu-18-04-bionic-beaver][https://linuxconfig.org/how-to-install-docker-on-ubuntu-18-04-bionic-beaver]
Es opcional dry, pero sirve para ver algunas cosas de docker ya funcionando
[https://github.com/moncho/dry][https://github.com/moncho/dry]
Para usuarios de Windows 10 estos son los enlaces para instalar Docker.
Es importante tener la versión 2004.
Se puede actualizar desde:
[https://www.microsoft.com/es-es/software-download/windows10][https://www.microsoft.com/es-es/software-download/windows10]
Esta es el enlace con las instrucciones:
[https://medium.com/@fred.gauthier.dev/web-development-environment-with-wsl-2-and-docker-for-symfony-5860704e127a][https://medium.com/@fred.gauthier.dev/web-development-environment-with-wsl-2-and-docker-for-symfony-5860704e127a]
#### Uso de docker
> Para la construcción del contenedor
```
make build
```
> Para lanzar el contenedor
```
make run
```
> Para parar el contenedor
```
make stop
```
#### Configuración
Sf 2.8
```
mail_mailer: smtp
mail_host: 172.21.0.2
mail_port: 1025
mail_username: null
mail_password: null
mail_encryption: null
mail_auth: null
```
SF 4.4
```
MAILER_DSN=smtp://null:null@172.21.0.2:1025
```
#### Visualización
[http://localhost:1080](http://localhost:1080)