Compare commits
4 Commits
d2030c4b8d
...
c986c82aa3
Author | SHA1 | Date | |
---|---|---|---|
c986c82aa3 | |||
bcb082aa98 | |||
1b8faa158d | |||
97eeeaab34 |
@ -132,4 +132,8 @@
|
|||||||
|
|
||||||
- name: Install baikal
|
- name: Install baikal
|
||||||
import_tasks: baikal.yml
|
import_tasks: baikal.yml
|
||||||
tags: baikal
|
tags: baikal
|
||||||
|
|
||||||
|
- name: Install syncthing
|
||||||
|
import_tasks: syncthing.yml
|
||||||
|
tags: syncthing
|
19
roles/docker/tasks/syncthing.yml
Normal file
19
roles/docker/tasks/syncthing.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
- name: make syncthing directories
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: "{{ item}}"
|
||||||
|
state: directory
|
||||||
|
loop:
|
||||||
|
- /opt/stacks/syncthing
|
||||||
|
|
||||||
|
- name: Template out the compose file
|
||||||
|
ansible.builtin.template:
|
||||||
|
src: syncthing-compose.yml.j2
|
||||||
|
dest: /opt/stacks/syncthing/compose.yml
|
||||||
|
owner: root
|
||||||
|
mode: 644
|
||||||
|
|
||||||
|
- name: deploy syncthing stack
|
||||||
|
community.docker.docker_compose_v2:
|
||||||
|
project_src: /opt/stacks/syncthing
|
||||||
|
files:
|
||||||
|
- compose.yml
|
@ -31,7 +31,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- trout:/data
|
- trout:/data
|
||||||
server:
|
server:
|
||||||
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2024.10.4}
|
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2024.12.0}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: server
|
command: server
|
||||||
environment:
|
environment:
|
||||||
@ -52,7 +52,7 @@ services:
|
|||||||
- postgresql
|
- postgresql
|
||||||
- trout
|
- trout
|
||||||
worker:
|
worker:
|
||||||
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2024.10.4}
|
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2024.12.0}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: worker
|
command: worker
|
||||||
environment:
|
environment:
|
||||||
|
@ -25,6 +25,7 @@ services:
|
|||||||
PAPERLESS_TIKA_ENABLED: 1
|
PAPERLESS_TIKA_ENABLED: 1
|
||||||
PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000
|
PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000
|
||||||
PAPERLESS_TIKA_ENDPOINT: http://tika:9998
|
PAPERLESS_TIKA_ENDPOINT: http://tika:9998
|
||||||
|
PAPERLESS_OCR_USER_ARGS: '{"invalidate_digital_signatures": true}'
|
||||||
|
|
||||||
gotenberg:
|
gotenberg:
|
||||||
image: docker.io/gotenberg/gotenberg:8.7
|
image: docker.io/gotenberg/gotenberg:8.7
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
pingvin-share:
|
pingvin-share:
|
||||||
image: stonith404/pingvin-share:v1.6.1
|
image: stonith404/pingvin-share:v1.7.0
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- TRUST_PROXY=true
|
- TRUST_PROXY=true
|
||||||
|
25
roles/docker/templates/syncthing-compose.yml.j2
Normal file
25
roles/docker/templates/syncthing-compose.yml.j2
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
services:
|
||||||
|
syncthing:
|
||||||
|
image: syncthing/syncthing
|
||||||
|
container_name: syncthing
|
||||||
|
hostname: my-syncthing
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
volumes:
|
||||||
|
- home:/var/syncthing
|
||||||
|
ports:
|
||||||
|
- 100.70.169.99:8384:8384 # Web UI
|
||||||
|
- 100.70.169.99:22000:22000/tcp # TCP file transfers
|
||||||
|
- 100.70.169.99:22000:22000/udp # QUIC file transfers
|
||||||
|
- 100.70.169.99:21027:21027/udp # Receive local discovery broadcasts
|
||||||
|
restart: unless-stopped
|
||||||
|
healthcheck:
|
||||||
|
test: curl -fkLsS -m 2 127.0.0.1:8384/rest/noauth/health | grep -o --color=never OK || exit 1
|
||||||
|
interval: 1m
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
home:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user