Move and rename stuff

This commit is contained in:
Sam A. 2023-04-06 19:26:22 +02:00
parent 8d0fd726d1
commit 83f994bb42
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA
3 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,6 @@
ssh_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPd/4fQV7CL8/KVwbo/phiV5UdXFBIDlkZ+ps8C7FeRf ssh_key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPd/4fQV7CL8/KVwbo/phiV5UdXFBIDlkZ+ps8C7FeRf
hostname: pi hostname: pi
timezone: Europe/Copenhagen timezone: Europe/Copenhagen
base_domain: sapti.me
hdd_name: storage hdd_name: storage
hdd_mount_point: /opt/{{ hdd_name }} hdd_mount_point: /opt/{{ hdd_name }}

View file

@ -1,5 +1,6 @@
# vim: ft=yaml.ansible # vim: ft=yaml.ansible
--- ---
base_domain: sapti.me
base_volume: "{{ hdd_mount_point }}/apps" base_volume: "{{ hdd_mount_point }}/apps"
services: services:
@ -8,8 +9,8 @@ services:
version: 2-alpine version: 2-alpine
postfix: postfix:
domain: smtp.{{ base_domain }}
volume: "{{ base_volume }}/postfix" volume: "{{ base_volume }}/postfix"
hostname: smtp.{{ base_domain }}
version: latest-alpine version: latest-alpine
emby: emby:

View file

@ -19,7 +19,7 @@
restart_policy: always restart_policy: always
env: env:
ALLOWED_SENDER_DOMAINS: "{{ sender_domains | join(' ') }}" ALLOWED_SENDER_DOMAINS: "{{ sender_domains | join(' ') }}"
HOSTNAME: "{{ services.postfix.hostname }}" HOSTNAME: "{{ services.postfix.domain }}"
DKIM_AUTOGENERATE: "true" DKIM_AUTOGENERATE: "true"
networks: networks:
- name: postfix - name: postfix