Add Gokapi file sharing service (replaces PicoShare)

This commit is contained in:
Phillip Skentelbery
2026-07-01 10:12:33 -06:00
parent b7b54d59af
commit dcfee23132
7 changed files with 58 additions and 1 deletions
+2
View File
@@ -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"
+1
View File
@@ -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:
+1 -1
View File
@@ -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
+4
View File
@@ -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
+4
View File
@@ -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 }}"