Add Gokapi file sharing service (replaces PicoShare)
This commit is contained in:
@@ -45,6 +45,8 @@
|
||||
ip: "152.53.36.98"
|
||||
- name: sync
|
||||
ip: "152.53.36.98"
|
||||
- name: gokapi
|
||||
ip: "152.53.36.98"
|
||||
- name: nerder.land
|
||||
dns_records:
|
||||
- name: "forms"
|
||||
|
||||
@@ -28,6 +28,7 @@ subdomains:
|
||||
listmonk: "listmonk.{{ secondary_domain }}" # Listmonk mailing list
|
||||
dir2opds: "opds.{{ primary_domain }}" # dir2opds OPDS catalog
|
||||
kosync: "sync.{{ primary_domain }}" # KOReader sync server
|
||||
gokapi: "gokapi.{{ primary_domain }}" # Gokapi file sharing
|
||||
|
||||
# Email domains for notifications
|
||||
email_domains:
|
||||
|
||||
@@ -5,7 +5,7 @@ service_categories:
|
||||
infrastructure: ["caddy", "authentik", "dockge"]
|
||||
development: ["gitea", "bytestash"]
|
||||
media: ["audiobookshelf", "calibre", "dir2opds", "hoarder", "kosync", "manyfold"]
|
||||
productivity: ["paperlessngx", "baikal", "syncthing", "heyform", "dawarich", "obsidian-livesync"]
|
||||
productivity: ["paperlessngx", "baikal", "syncthing", "heyform", "dawarich", "obsidian-livesync", "gokapi"]
|
||||
communication: ["gotosocial", "listmonk"]
|
||||
monitoring: ["glance", "changedetection", "appriseapi", "gotify", "cronmaster"]
|
||||
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
---
|
||||
- name: make gokapi directories
|
||||
ansible.builtin.file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
loop:
|
||||
- /opt/stacks/gokapi
|
||||
|
||||
- name: Template out the compose file
|
||||
ansible.builtin.template:
|
||||
src: gokapi-compose.yml.j2
|
||||
dest: /opt/stacks/gokapi/compose.yml
|
||||
owner: root
|
||||
mode: 644
|
||||
|
||||
- name: deploy gokapi stack
|
||||
community.docker.docker_compose_v2:
|
||||
project_src: /opt/stacks/gokapi
|
||||
files:
|
||||
- compose.yml
|
||||
@@ -37,6 +37,10 @@
|
||||
import_tasks: kanboard.yml
|
||||
tags: kanboard
|
||||
|
||||
- name: Install gokapi
|
||||
import_tasks: gokapi.yml
|
||||
tags: gokapi
|
||||
|
||||
- name: Install grocy
|
||||
import_tasks: grocy.yml
|
||||
tags: grocy
|
||||
@@ -119,6 +119,10 @@ opds.thesatelliteoflove.com {
|
||||
}
|
||||
{% endif %}
|
||||
|
||||
gokapi.thesatelliteoflove.com {
|
||||
reverse_proxy gokapi:53842
|
||||
}
|
||||
|
||||
sync.thesatelliteoflove.com {
|
||||
reverse_proxy kosync:17200
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
gokapi:
|
||||
image: f0rc3/gokapi:latest
|
||||
container_name: gokapi
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
TZ: "UTC"
|
||||
volumes:
|
||||
- gokapi_data:/app/data
|
||||
- gokapi_config:/app/config
|
||||
labels:
|
||||
glance.name: Gokapi
|
||||
glance.icon: si:files
|
||||
glance.url: https://{{ subdomains.gokapi }}/
|
||||
glance.description: Lightweight file sharing
|
||||
glance.id: gokapi
|
||||
mag37.dockcheck.update: true
|
||||
volumes:
|
||||
gokapi_data:
|
||||
driver: local
|
||||
gokapi_config:
|
||||
driver: local
|
||||
networks:
|
||||
default:
|
||||
external: true
|
||||
name: "{{ docker.network_name }}"
|
||||
Reference in New Issue
Block a user