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