feat: define dev env with smtp and gitea services
parent
4b20f9a439
commit
08457c8bb2
|
@ -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"
|
Loading…
Reference in New Issue