Add mail and update gitea to use authelia sso
This commit is contained in:
@@ -34,6 +34,8 @@ networks:
|
||||
external: false
|
||||
memos:
|
||||
external: false
|
||||
mail:
|
||||
external: false
|
||||
services:
|
||||
web:
|
||||
image: "nginx"
|
||||
@@ -88,6 +90,7 @@ services:
|
||||
secrets: ['JWT_SECRET', 'SESSION_SECRET', 'STORAGE_PASSWORD', 'STORAGE_ENCRYPTION_KEY']
|
||||
networks:
|
||||
- auth
|
||||
- mail
|
||||
environment:
|
||||
AUTHELIA_IDENTITY_VALIDATION_RESET_PASSWORD_JWT_SECRET_FILE: '/run/secrets/JWT_SECRET'
|
||||
AUTHELIA_SESSION_SECRET_FILE: '/run/secrets/SESSION_SECRET'
|
||||
@@ -128,18 +131,24 @@ services:
|
||||
gitea:
|
||||
image: docker.gitea.com/gitea:1.24
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
- USER_UID=106
|
||||
- USER_GID=110
|
||||
- ENABLE_NOTIFY_MAIL=true
|
||||
# -
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- gitea
|
||||
- mail
|
||||
volumes:
|
||||
- /data/gitea/data:/data
|
||||
- /home/git/.ssh/:/data/git/.ssh
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "222:22"
|
||||
logging: *logging
|
||||
depends_on:
|
||||
- authelia
|
||||
gitea-runner:
|
||||
image: docker.gitea.com/act_runner:latest
|
||||
restart: unless-stopped
|
||||
@@ -187,7 +196,19 @@ services:
|
||||
- MEMOS_PORT=5230
|
||||
restart: unless-stopped
|
||||
logging: *logging
|
||||
|
||||
mail:
|
||||
image: boky/postfix
|
||||
restart: unless-stopped
|
||||
logging: *logging
|
||||
environment:
|
||||
- ALLOWED_SENDER_DOMAINS=loadingm.xyz
|
||||
- POSTFIX_myhostname=mail
|
||||
volumes:
|
||||
- /data/mail:/etc/opendkim/keys
|
||||
networks:
|
||||
- mail
|
||||
ports:
|
||||
- 127.0.0.1:25:25
|
||||
# calibre:
|
||||
# image: "linuxserver/calibre-web"
|
||||
# 5d-diplomacy-frontend:
|
||||
|
||||
Reference in New Issue
Block a user