Compare commits
2 Commits
ae929ca09d
...
00e4f4807d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
00e4f4807d | ||
|
|
161e6446cd |
@@ -297,10 +297,10 @@ services:
|
|||||||
- "PAPERLESS_REDIS=redis://paperless-broker:6379"
|
- "PAPERLESS_REDIS=redis://paperless-broker:6379"
|
||||||
- "PAPERLESS_DBHOST=paperless-postgres"
|
- "PAPERLESS_DBHOST=paperless-postgres"
|
||||||
- "PAPERLESS_DBUSER=paperless"
|
- "PAPERLESS_DBUSER=paperless"
|
||||||
- "PAPERLESS_DBPASS=5fnhn%u2YWY3paNvMAjdoufYPQ2Hf3Yi"
|
- "PAPERLESS_DBPASS={{ vault.docker.paperless.dbpass }}"
|
||||||
- "USERMAP_UID=1000"
|
- "USERMAP_UID=1000"
|
||||||
- "USERMAP_GID=1000"
|
- "USERMAP_GID=1000"
|
||||||
- "PAPERLESS_URL=https://paperless.seyshiro.de"
|
- "PAPERLESS_URL=https://paperless.{{ domain }}"
|
||||||
- "PAPERLESS_TIME_ZONE=Europe/Berlin"
|
- "PAPERLESS_TIME_ZONE=Europe/Berlin"
|
||||||
- "PAPERLESS_OCR_LANGUAGE=deu"
|
- "PAPERLESS_OCR_LANGUAGE=deu"
|
||||||
ports:
|
ports:
|
||||||
@@ -390,9 +390,9 @@ services:
|
|||||||
- VPN_SERVICE_PROVIDER=protonvpn
|
- VPN_SERVICE_PROVIDER=protonvpn
|
||||||
- UPDATER_VPN_SERVICE_PROVIDERS=protonvpn
|
- UPDATER_VPN_SERVICE_PROVIDERS=protonvpn
|
||||||
- UPDATER_PERIOD=24h
|
- UPDATER_PERIOD=24h
|
||||||
- SERVER_COUNTRIES=Hungary
|
- "SERVER_COUNTRIES={{ vault.docker.proton.country }}"
|
||||||
- OPENVPN_USER=MfCOtzTIEsmu1wY-q2lAZ3X1+pmp
|
- "OPENVPN_USER={{ vault.docker.proton.openvpn_user }}"
|
||||||
- OPENVPN_PASSWORD=knCl1Zl5PHz4HMWVCGR77dYa
|
- "OPENVPN_PASSWORD={{ vault.docker.proton.openvpn_password }}"
|
||||||
- name: torrentleech
|
- name: torrentleech
|
||||||
vm:
|
vm:
|
||||||
- docker-host00
|
- docker-host00
|
||||||
|
|||||||
1
roles/docker_host/files/sysctl.conf
Normal file
1
roles/docker_host/files/sysctl.conf
Normal file
@@ -0,0 +1 @@
|
|||||||
|
vm.max_map_count = 262144
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
src: "192.168.20.12:{{ item }}"
|
src: "192.168.20.12:{{ item }}"
|
||||||
fstype: nfs
|
fstype: nfs
|
||||||
opts: defaults,nolock
|
opts: defaults,nolock,_netdev,auto,bg
|
||||||
state: mounted
|
state: mounted
|
||||||
loop:
|
loop:
|
||||||
- /media/docker
|
- /media/docker
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if service.ports is iterable %}
|
{% if service.ports is defined and service.ports is iterable %}
|
||||||
{% if service.ports[0].internal != 'proxy_only' %}
|
{% if service.ports[0].internal != 'proxy_only' %}
|
||||||
ports:
|
ports:
|
||||||
{% for port in service.ports %}
|
{% for port in service.ports %}
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
{% for service in services %}
|
{% for service in services %}
|
||||||
|
{% if service.ports is defined %}
|
||||||
{% if service.ports is iterable %}
|
{% if service.ports is iterable %}
|
||||||
{% set http_port = service.ports | selectattr('name', 'equalto', 'http') | map(attribute='external') | list %}
|
{% set http_port = service.ports | selectattr('name', 'equalto', 'http') | map(attribute='external') | list %}
|
||||||
{% if http_port %}
|
{% if http_port %}
|
||||||
@@ -26,6 +27,8 @@
|
|||||||
resolvers 1.1.1.1
|
resolvers 1.1.1.1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
Reference in New Issue
Block a user