Add filestash/paperless deployment
This commit is contained in:
parent
879fa909a4
commit
2eeff9fc92
1
ansible/plays/services/filestash/.env
Normal file
1
ansible/plays/services/filestash/.env
Normal file
@ -0,0 +1 @@
|
|||||||
|
COMPOSE_PROJECT_NAME=filestash
|
21
ansible/plays/services/filestash/docker-compose.yaml
Normal file
21
ansible/plays/services/filestash/docker-compose.yaml
Normal 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:
|
1
ansible/plays/services/paperless-proxy/.env
Normal file
1
ansible/plays/services/paperless-proxy/.env
Normal file
@ -0,0 +1 @@
|
|||||||
|
COMPOSE_PROJECT_NAME=paperless-proxy
|
7
ansible/plays/services/paperless-proxy/Caddyfile
Normal file
7
ansible/plays/services/paperless-proxy/Caddyfile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
auto_https off
|
||||||
|
}
|
||||||
|
|
||||||
|
http://paperless.tobiasmanske.de {
|
||||||
|
reverse_proxy {{ hostvars['thonkpad.ka.chaoswg.org']['wg_addr'] }}:8000
|
||||||
|
}
|
16
ansible/plays/services/paperless-proxy/docker-compose.yaml
Normal file
16
ansible/plays/services/paperless-proxy/docker-compose.yaml
Normal 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
|
||||||
|
...
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user