feat: define dev env with smtp and gitea services

wip-infra-tests
Aravinth Manivannan 2022-06-23 20:58:08 +05:30
parent 4b20f9a439
commit 08457c8bb2
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,41 @@
version: "3"
#networks:
# hostea-dash-gitea:
# external: false
# hostea-dash-smtp:
# external: false
services:
gitea:
image: gitea/gitea:1.16.5
container_name: hostea-dash-gitea
network_mode: host
environment:
- USER_UID=1000
- USER_GID=1000
restart: always
#networks:
# - hostea-dash-gitea
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
#ports:
# - "8080:3000"
# - "2221:22"
smtp:
image: maildev/maildev:latest
restart: always
container_name: hostea-dash-maildev
network_mode: host
#networks:
# - hostea-dash-smtp
environment:
- MAILDEV_SMTP_PORT=10025
- MAILDEV_INCOMING_USER=admin
- MAILDEV_INCOMING_PASS=password
#ports:
# - "10025:10025"
# - "1080:1080"