Add Gokapi file sharing service (replaces PicoShare)
This commit is contained in:
@@ -45,6 +45,8 @@
|
|||||||
ip: "152.53.36.98"
|
ip: "152.53.36.98"
|
||||||
- name: sync
|
- name: sync
|
||||||
ip: "152.53.36.98"
|
ip: "152.53.36.98"
|
||||||
|
- name: gokapi
|
||||||
|
ip: "152.53.36.98"
|
||||||
- name: nerder.land
|
- name: nerder.land
|
||||||
dns_records:
|
dns_records:
|
||||||
- name: "forms"
|
- name: "forms"
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ subdomains:
|
|||||||
listmonk: "listmonk.{{ secondary_domain }}" # Listmonk mailing list
|
listmonk: "listmonk.{{ secondary_domain }}" # Listmonk mailing list
|
||||||
dir2opds: "opds.{{ primary_domain }}" # dir2opds OPDS catalog
|
dir2opds: "opds.{{ primary_domain }}" # dir2opds OPDS catalog
|
||||||
kosync: "sync.{{ primary_domain }}" # KOReader sync server
|
kosync: "sync.{{ primary_domain }}" # KOReader sync server
|
||||||
|
gokapi: "gokapi.{{ primary_domain }}" # Gokapi file sharing
|
||||||
|
|
||||||
# Email domains for notifications
|
# Email domains for notifications
|
||||||
email_domains:
|
email_domains:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ service_categories:
|
|||||||
infrastructure: ["caddy", "authentik", "dockge"]
|
infrastructure: ["caddy", "authentik", "dockge"]
|
||||||
development: ["gitea", "bytestash"]
|
development: ["gitea", "bytestash"]
|
||||||
media: ["audiobookshelf", "calibre", "dir2opds", "hoarder", "kosync", "manyfold"]
|
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"]
|
communication: ["gotosocial", "listmonk"]
|
||||||
monitoring: ["glance", "changedetection", "appriseapi", "gotify", "cronmaster"]
|
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
|
import_tasks: kanboard.yml
|
||||||
tags: kanboard
|
tags: kanboard
|
||||||
|
|
||||||
|
- name: Install gokapi
|
||||||
|
import_tasks: gokapi.yml
|
||||||
|
tags: gokapi
|
||||||
|
|
||||||
- name: Install grocy
|
- name: Install grocy
|
||||||
import_tasks: grocy.yml
|
import_tasks: grocy.yml
|
||||||
tags: grocy
|
tags: grocy
|
||||||
@@ -119,6 +119,10 @@ opds.thesatelliteoflove.com {
|
|||||||
}
|
}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
gokapi.thesatelliteoflove.com {
|
||||||
|
reverse_proxy gokapi:53842
|
||||||
|
}
|
||||||
|
|
||||||
sync.thesatelliteoflove.com {
|
sync.thesatelliteoflove.com {
|
||||||
reverse_proxy kosync:17200
|
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