Compare commits

..

2 commits

5 changed files with 5 additions and 6 deletions

View file

@ -118,7 +118,7 @@ users:
hedgedoc: 1004 hedgedoc: 1004
homepage: 8686 homepage: 8686
lldap: 1007 lldap: 1007
mailserver: 8 # Do not change mailserver: 8
postgres: 70 postgres: 70
searxng: 977 searxng: 977
searxng_redis: 999 searxng_redis: 999

View file

@ -47,6 +47,6 @@
file: file:
path: "/etc/letsencrypt/live/mail.{{ domain }}/privkey.pem" path: "/etc/letsencrypt/live/mail.{{ domain }}/privkey.pem"
owner: root owner: root
group: "{{ host_uid }}" group: "{{ users['mailserver'] + uid_shift }}"
mode: '640' mode: '640'
become: true become: true

View file

@ -9,8 +9,6 @@ server.http.permissive-cors = false
server.http.url = "protocol + '://' + key_get('default', 'hostname') + ':' + local_port" server.http.url = "protocol + '://' + key_get('default', 'hostname') + ':' + local_port"
server.http.use-x-forwarded = true server.http.use-x-forwarded = true
server.max-connections = 8192 server.max-connections = 8192
server.run-as.group = "mail"
server.run-as.user = "mail"
server.socket.backlog = 1024 server.socket.backlog = 1024
server.socket.nodelay = true server.socket.nodelay = true
server.socket.reuse-addr = true server.socket.reuse-addr = true

View file

@ -1,8 +1,9 @@
services: services:
mailserver: mailserver:
image: docker.io/stalwartlabs/mail-server:v0.7.3 image: docker.io/stalwartlabs/mail-server:v0.8.1
container_name: mailserver container_name: mailserver
restart: always restart: always
user: "{{ users['mailserver'] }}:{{ users['mailserver'] }}"
networks: networks:
- mailserver - mailserver
ports: ports:

View file

@ -1,7 +1,7 @@
services: services:
stump: stump:
container_name: stump container_name: stump
image: aaronleopold/stump:0.0.2 image: aaronleopold/stump:0.0.3
restart: always restart: always
environment: environment:
- PUID={{ users['stump'] }} - PUID={{ users['stump'] }}