Compare commits
7
Commits
676e574e60
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dea3b29b6b | ||
|
|
dcfee23132 | ||
|
|
b7b54d59af | ||
|
|
706af70112 | ||
|
|
0155b42a7a | ||
|
|
662e164971 | ||
|
|
0927187789 |
@@ -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
|
||||||
@@ -80,10 +80,18 @@ pdg.thesatelliteoflove.com {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gondulf.thesatelliteoflove.com {
|
||||||
|
reverse_proxy gondulf:8000
|
||||||
|
}
|
||||||
|
|
||||||
starpunk.thesatelliteoflove.com {
|
starpunk.thesatelliteoflove.com {
|
||||||
reverse_proxy starpunk:8000
|
reverse_proxy starpunk:8000
|
||||||
}
|
}
|
||||||
|
|
||||||
|
godulf.thesatelliteoflove.com {
|
||||||
|
reverse_proxy gondulf:8000
|
||||||
|
}
|
||||||
|
|
||||||
repair.nerder.land {
|
repair.nerder.land {
|
||||||
root * /srv/repair
|
root * /srv/repair
|
||||||
file_server
|
file_server
|
||||||
@@ -115,6 +123,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
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -63,8 +63,9 @@ services:
|
|||||||
REDIS_URL: redis://dawarich_redis:6379
|
REDIS_URL: redis://dawarich_redis:6379
|
||||||
MIN_MINUTES_SPENT_IN_CITY: 60
|
MIN_MINUTES_SPENT_IN_CITY: 60
|
||||||
APPLICATION_HOSTS: {{ subdomains.loclog }},localhost,::1,127.0.0.1
|
APPLICATION_HOSTS: {{ subdomains.loclog }},localhost,::1,127.0.0.1
|
||||||
PHOTON_API_HOST: photon.komoot.io/reverse
|
|
||||||
PHOTON_API_USE_HTTPS: true
|
PHOTON_API_USE_HTTPS: true
|
||||||
|
PHOTON_API_HOST: photon.dawarich.app
|
||||||
|
PHOTON_API_KEY: ca91825827603b39e4cdd6fe4de9063f4ec77e0617454857576dd62b424bb60b
|
||||||
TIME_ZONE: America/Denver
|
TIME_ZONE: America/Denver
|
||||||
APPLICATION_PROTOCOL: http
|
APPLICATION_PROTOCOL: http
|
||||||
DISTANCE_UNIT: mi
|
DISTANCE_UNIT: mi
|
||||||
@@ -124,7 +125,8 @@ services:
|
|||||||
TIME_ZONE: America/Denver
|
TIME_ZONE: America/Denver
|
||||||
APPLICATION_PROTOCOL: http
|
APPLICATION_PROTOCOL: http
|
||||||
DISTANCE_UNIT: mi
|
DISTANCE_UNIT: mi
|
||||||
PHOTON_API_HOST: photon.komoot.io/reverse
|
PHOTON_API_HOST: photon.dawarich.app
|
||||||
|
PHOTON_API_KEY: ca91825827603b39e4cdd6fe4de9063f4ec77e0617454857576dd62b424bb60b
|
||||||
PHOTON_API_USE_HTTPS: true
|
PHOTON_API_USE_HTTPS: true
|
||||||
PROMETHEUS_EXPORTER_ENABLED: false
|
PROMETHEUS_EXPORTER_ENABLED: false
|
||||||
SECRET_KEY_BASE: {{ vault_dawarich.secret_key_base }}
|
SECRET_KEY_BASE: {{ vault_dawarich.secret_key_base }}
|
||||||
|
|||||||
@@ -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