Add filestash/paperless deployment

This commit is contained in:
Tobias Manske 2024-02-01 01:06:26 +01:00
parent 879fa909a4
commit 2eeff9fc92
Signed by: tobias
GPG Key ID: 9164B527694A0709
6 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1 @@
COMPOSE_PROJECT_NAME=filestash

View File

@ -0,0 +1,21 @@
version: "3.4"
services:
filestash:
container_name: filestash
image: machines/filestash:latest
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.docker.network=${COMPOSE_PROJECT_NAME}_default"
- "traefik.http.routers.filestash.rule=Host(`stash.unruhig.eu`)"
- "traefik.http.routers.filestash.entryPoints=websecure"
- "traefik.http.services.filestash.loadbalancer.server.port=8334"
environment:
- "APPLICATION_URL=https://stash.unruhig.eu"
volumes:
- data:/app/data/state/
networks:
- default
volumes:
data:

View File

@ -0,0 +1 @@
COMPOSE_PROJECT_NAME=paperless-proxy

View File

@ -0,0 +1,7 @@
{
auto_https off
}
http://paperless.tobiasmanske.de {
reverse_proxy {{ hostvars['thonkpad.ka.chaoswg.org']['wg_addr'] }}:8000
}

View File

@ -0,0 +1,16 @@
---
version: "3.4"
services:
proxy:
image: caddy:2
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro,z
labels:
- "traefik.enable=true"
- "traefik.docker.network=${COMPOSE_PROJECT_NAME}_default"
- "traefik.http.routers.paperlessproxy.rule=Host(`paperless.tobiasmanske.de`)"
- "traefik.http.routers.paperlessproxy.entryPoints=websecure"
- "traefik.http.services.paperlessproxy.loadbalancer.server.port=80"
restart: always
...

View File

@ -39,11 +39,13 @@
- {role: compose_project, service: blog} - {role: compose_project, service: blog}
- {role: compose_project, service: linktree} - {role: compose_project, service: linktree}
- {role: compose_project, service: caddy} - {role: compose_project, service: caddy}
- {role: compose_project, service: paperless-proxy}
- {role: compose_project, service: diun} - {role: compose_project, service: diun}
- {role: compose_project, service: seafile} - {role: compose_project, service: seafile}
- {role: compose_project, service: watchtower} - {role: compose_project, service: watchtower}
- {role: compose_project, service: wkd} - {role: compose_project, service: wkd}
- {role: compose_project, service: wallabag} - {role: compose_project, service: wallabag}
- {role: compose_project, service: gotosocial} - {role: compose_project, service: gotosocial}
- {role: compose_project, service: filestash}
# vim: ft=yaml.ansible # vim: ft=yaml.ansible