mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Migrate to bigger Hetzner server
This commit is contained in:
parent
d77f2ef548
commit
86fb8e71c1
32 changed files with 294 additions and 226 deletions
|
|
@ -9,7 +9,7 @@ networks:
|
|||
ipam:
|
||||
driver: default
|
||||
config:
|
||||
- subnet: 172.22.0.0/16
|
||||
- subnet: 192.168.64.0/20
|
||||
|
||||
services:
|
||||
front:
|
||||
|
|
@ -53,7 +53,7 @@ services:
|
|||
env_file: .env
|
||||
networks:
|
||||
default:
|
||||
ipv4_address: 172.22.255.254
|
||||
ipv4_address: 192.168.64.254
|
||||
|
||||
admin:
|
||||
image: mailu/admin:$VERSION
|
||||
|
|
@ -87,7 +87,7 @@ services:
|
|||
- front
|
||||
- resolver
|
||||
dns:
|
||||
- 172.22.255.254
|
||||
- 192.168.64.254
|
||||
|
||||
antispam:
|
||||
image: mailu/rspamd:$VERSION
|
||||
|
|
@ -101,7 +101,7 @@ services:
|
|||
- front
|
||||
- resolver
|
||||
dns:
|
||||
- 172.22.255.254
|
||||
- 192.168.64.254
|
||||
|
||||
fetchmail:
|
||||
image: mailu/fetchmail:$VERSION
|
||||
|
|
@ -110,7 +110,7 @@ services:
|
|||
depends_on:
|
||||
- resolver
|
||||
dns:
|
||||
- 172.22.255.254
|
||||
- 192.168.64.254
|
||||
|
||||
webmail:
|
||||
image: mailu/rainloop
|
||||
|
|
|
|||
|
|
@ -1,2 +1 @@
|
|||
|
||||
#debug_peer_list = 172.22.0.1
|
||||
|
|
|
|||
|
|
@ -1,7 +1,13 @@
|
|||
---
|
||||
- name: Copy mailu config
|
||||
copy: src=mailu dest={{docker_compose_files_folder}}
|
||||
copy:
|
||||
src: mailu
|
||||
dest: "{{docker_compose_files_folder}}"
|
||||
- name: Create mailu config
|
||||
template: src=mailu/.env dest={{docker_compose_files_folder}}/mailu/.env
|
||||
template:
|
||||
src: mailu/.env
|
||||
dest: "{{docker_compose_files_folder}}/mailu/.env"
|
||||
- name: Start mailu docker project
|
||||
docker_service: project_src={{docker_compose_files_folder}}/mailu state=present
|
||||
docker_compose:
|
||||
project_src: "{{docker_compose_files_folder}}/mailu"
|
||||
state: present
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ SECRET_KEY={{mailu_secret_key}}
|
|||
BIND_ADDRESS4=0.0.0.0
|
||||
|
||||
# Subnet of the docker network. This should not conflict with any networks to which your system is connected. (Internal and external!
|
||||
SUBNET=172.22.0.0/16
|
||||
SUBNET=192.168.64.0/20
|
||||
|
||||
# Main mail domain
|
||||
DOMAIN=banditlair.com
|
||||
|
|
@ -64,7 +64,7 @@ MESSAGE_SIZE_LIMIT=50000000
|
|||
|
||||
# Networks granted relay permissions
|
||||
# Use this with care, all hosts in this networks will be able to send mail without authentication!
|
||||
RELAYNETS=172.22.0.0/16
|
||||
RELAYNETS=192.168.64.0/20
|
||||
|
||||
# Will relay all outgoing mails if configured
|
||||
RELAYHOST=
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue