Skip to content

Commit

Permalink
Merge pull request #80 from meienberger/release/0.2.0
Browse files Browse the repository at this point in the history
🚀 Release 0.2.0
  • Loading branch information
meienberger committed May 23, 2022
2 parents 7b2d7c1 + 78f6ce7 commit 33c0f31
Show file tree
Hide file tree
Showing 59 changed files with 624 additions and 76 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-candidate.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Release candidate

on:
pull_request:
push:
branches:
- master
- release/*

jobs:
# Build images and publish RCs to DockerHub
Expand Down
19 changes: 8 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@
.pnpm-debug.log
.env
.env*
github.secrets
node_modules/
nginx/*
letsencrypt/*
app-data/*
traefik/ssl/*
!traefik/ssl/.gitkeep
!app-data/.gitkeep
!letsencrypt/mkcert/.gitkeep

state/*
!state/.gitkeep

tipi.config.json

# Commit empty directories
!nignx/.gitkeep

media/data/movies/*
media/data/tv/*
media/data/books/*
!media/data/movies/.gitkeep
!media/data/tv/.gitkeep
!media/data/books/metadata.db

media/torrents/*
!media/torrents/.gitkeep
media/torrents/complete/*
!media/torrents/complete/.gitkeep
media/torrents/incomplete/*
!media/torrents/incomplete/.gitkeep
media/torrents/watch/*
!media/torrents/watch/.gitkeep
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Tipi is a personal homeserver orchestrator. It is running docker containers unde

## Apps available
- [Calibre-Web](https://github.com/janeczku/calibre-web) - Web Ebook Reader
- [Code-Server](https://github.com/filebrowser/filebrowser) - Web VS Code
- [Code-Server](https://github.com/coder/code-server) - Web VS Code
- [Filebrowser](https://github.com/filebrowser/filebrowser) - Web File Browser
- [Freshrss](https://github.com/FreshRSS/FreshRSS) - A free, self-hostable RSS aggregator
- [Invidious](https://github.com/iv-org/invidious) - An alternative front-end to YouTube
Expand All @@ -32,6 +32,11 @@ Tipi is a personal homeserver orchestrator. It is running docker containers unde
- [Transmission](https://github.com/transmission/transmission) - Fast, easy, and free BitTorrent client
- [Wireguard Easy](https://github.com/WeeJeWel/wg-easy) - WireGuard VPN + Web-based Admin UI
- [Adguard Home](https://github.com/AdguardTeam/AdGuardHome) - Adguard Home DNS adblocker
- [Libreddit](https://github.com/spikecodes/libreddit) - Private front-end for Reddit
- [Nitter](https://github.com/zedeus/nitter) - Alternative Twitter front-end
- [Vaultwarden](https://github.com/dani-garcia/vaultwarden) - Unofficial Bitwarden compatible server
- [Prowlarr](https://github.com/Prowlarr/Prowlarr/) - A torrent/usenet indexer manager/proxy
- [Gitea](https://github.com/go-gitea/gitea) - Gitea - A painless self-hosted Git service.
## 🛠 Installation
### Installation Requirements
- Ubuntu 18.04 LTS or higher (or Debian 10)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.5
0.2.0
6 changes: 3 additions & 3 deletions apps/adguard/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"description": "Adguard is the best way to get rid of annoying ads and online tracking and protect your computer from malware. Make your web surfing fast, safe and ad-free.",
"short_desc": "World's most advanced adblocker!",
"author": "ArneNaessens",
"source": "https://github:com/AdguardTeam",
"source": "https://github.com/AdguardTeam",
"image": "https://avatars.githubusercontent.com/u/8361145?s=200&v=4",
"cagegories": ["network", "security"],
"requirements": {
"ports": [53]
},
"form_fields": {
}
"form_fields": {}
}
3 changes: 1 addition & 2 deletions apps/adguard/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

version: "3.5"

version: "3.7"
services:
adguardhome:
image: adguard/adguardhome:v0.107.6
Expand Down
3 changes: 3 additions & 0 deletions apps/adguard/metadata/description.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Network-wide ads & trackers blocking DNS server

AdGuard Home is a network-wide software for blocking ads and tracking. After you set it up, it'll cover all your home devices, and you won't need any client-side software for that. Learn more on our official Github repository.
Binary file added apps/adguard/metadata/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 2 additions & 4 deletions apps/anonaddy/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

version: "3.5"

version: "3.7"
services:
db:
image: mariadb:10.5
Expand Down Expand Up @@ -80,4 +78,4 @@ services:

# traefik.http.routers.anonaddy.entrypoints: http
# traefik.http.routers.anonaddy.service: anonaddy
# traefik.http.services.anonaddy.loadbalancer.server.port: 8000
# traefik.http.services.anonaddy.loadbalancer.server.port: 8000
6 changes: 3 additions & 3 deletions apps/calibre-web/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "2.1"
version: "3.7"
services:
calibre-web:
image: lscr.io/linuxserver/calibre-web:latest
Expand All @@ -9,9 +9,9 @@ services:
- TZ=${TZ}
volumes:
- ${APP_DATA_DIR}/data/config:/config
- ${APP_DATA_DIR}/data/books:/books
- ${ROOT_FOLDER_HOST}/media/data/books:/books
ports:
- ${APP_PORT}:8083
restart: unless-stopped
networks:
- tipi_main_network
- tipi_main_network
4 changes: 2 additions & 2 deletions apps/code-server/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "2.1"
version: "3.7"
services:
code-server:
image: lscr.io/linuxserver/code-server:latest
Expand All @@ -16,4 +16,4 @@ services:
- ${APP_PORT}:8443
restart: unless-stopped
networks:
- tipi_main_network
- tipi_main_network
1 change: 1 addition & 0 deletions apps/filebrowser/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: "3.7"
services:
filebrowser:
container_name: filebrowser
Expand Down
12 changes: 12 additions & 0 deletions apps/gitea/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "Gitea",
"port": 8108,
"available": true,
"id": "gitea",
"description": "Gitea is a painless self-hosted Git service. It is similar to GitHub, Bitbucket, and GitLab. Gitea is a fork of Gogs. See the Gitea Announcement blog post to read about the justification for a fork.",
"short_desc": "Gitea - Git with a cup of tea · A painless self-hosted Git service. · Cross-platform · Easy to install · Lightweight · Open Source.",
"author": "go-gitea",
"source": "https://github.com/go-gitea/gitea",
"image": "https://avatars.githubusercontent.com/u/12724356?s=200&v=4",
"form_fields": {}
}
88 changes: 88 additions & 0 deletions apps/gitea/data/gitea/gitea/conf/app.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
APP_NAME = Gitea: Git with a cup of tea
RUN_MODE = prod
RUN_USER = git

[repository]
ROOT = /data/git/repositories

[repository.local]
LOCAL_COPY_PATH = /data/gitea/tmp/local-repo

[repository.upload]
TEMP_PATH = /data/gitea/uploads

[server]
APP_DATA_PATH = /data/gitea
DOMAIN = localhost
SSH_DOMAIN = localhost
HTTP_PORT = 3000
ROOT_URL = http://localhost:8108/
DISABLE_SSH = false
SSH_PORT = 22
SSH_LISTEN_PORT = 22
LFS_START_SERVER = true
LFS_CONTENT_PATH = /data/git/lfs
LFS_JWT_SECRET = wo2G20l0nGsspUp8xsLNSNF7H8U-GQUVth5gj_q5cDk
OFFLINE_MODE = false

[database]
PATH = /data/gitea/gitea.db
DB_TYPE = postgres
HOST = gitea-db:5432
NAME = gitea
USER = gitea
PASSWD = gitea
LOG_SQL = false
SCHEMA =
SSL_MODE = disable
CHARSET = utf8

[indexer]
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve

[session]
PROVIDER_CONFIG = /data/gitea/sessions
PROVIDER = file

[picture]
AVATAR_UPLOAD_PATH = /data/gitea/avatars
REPOSITORY_AVATAR_UPLOAD_PATH = /data/gitea/repo-avatars
DISABLE_GRAVATAR = false
ENABLE_FEDERATED_AVATAR = true

[attachment]
PATH = /data/gitea/attachments

[log]
MODE = console
LEVEL = info
ROUTER = console
ROOT_PATH = /data/gitea/log

[security]
INSTALL_LOCK = true
SECRET_KEY =
REVERSE_PROXY_LIMIT = 1
REVERSE_PROXY_TRUSTED_PROXIES = *
INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE2NTMyODU5ODh9.l7fPuVA8LSHZvdBum8YDrH47RZjEx_cZLbswO5pMDk8
PASSWORD_HASH_ALGO = pbkdf2

[service]
DISABLE_REGISTRATION = false
REQUIRE_SIGNIN_VIEW = false
REGISTER_EMAIL_CONFIRM = false
ENABLE_NOTIFY_MAIL = false
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
ENABLE_CAPTCHA = false
DEFAULT_KEEP_EMAIL_PRIVATE = false
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
DEFAULT_ENABLE_TIMETRACKING = true
NO_REPLY_ADDRESS = noreply.localhost

[mailer]
ENABLED = false

[openid]
ENABLE_OPENID_SIGNIN = true
ENABLE_OPENID_SIGNUP = true

37 changes: 37 additions & 0 deletions apps/gitea/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
version: "3.7"

services:
gitea:
image: gitea/gitea:1.16.8
container_name: gitea
environment:
- USER_UID=1000
- USER_GID=1000
- GITEA__database__DB_TYPE=postgres
- GITEA__database__HOST=gitea-db:5432
- GITEA__database__NAME=gitea
- GITEA__database__USER=gitea
- GITEA__database__PASSWD=gitea
restart: unless-stopped
networks:
- tipi_main_network
volumes:
- ${APP_DATA_DIR}/data/gitea:/data
ports:
- ${APP_PORT}:3000
- "222:22"
depends_on:
- gitea-db

gitea-db:
container_name: gitea-db
image: postgres:14
restart: unless-stopped
environment:
- POSTGRES_USER=gitea
- POSTGRES_PASSWORD=gitea
- POSTGRES_DB=gitea
volumes:
- ${APP_DATA_DIR}/data/postgres:/var/lib/postgresql/data
networks:
- tipi_main_network
4 changes: 2 additions & 2 deletions apps/homarr/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '3'
version: "3.7"
services:
homarr:
container_name: homarr
Expand All @@ -9,4 +9,4 @@ services:
ports:
- ${APP_PORT}:7575
networks:
- tipi_main_network
- tipi_main_network
6 changes: 3 additions & 3 deletions apps/invidious/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"available": true,
"port": 8095,
"id": "invidious",
"description": "",
"short_desc": "",
"author": "",
"description": "Invidious is an open source alternative front-end to YouTube.",
"short_desc": "An alternative front-end to YouTube",
"author": "iv-org",
"source": "https://github.com/iv-org/invidious",
"image": "https://raw.githubusercontent.com/iv-org/invidious/master/assets/invidious-colored-vector.svg",
"form_fields": {}
Expand Down
12 changes: 12 additions & 0 deletions apps/invidious/data/init/init-invidious-db.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
set -eou pipefail

psql --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <config/sql/channels.sql
psql --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <config/sql/videos.sql
psql --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <config/sql/channel_videos.sql
psql --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <config/sql/users.sql
psql --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <config/sql/session_ids.sql
psql --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <config/sql/nonces.sql
psql --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <config/sql/annotations.sql
psql --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <config/sql/playlists.sql
psql --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <config/sql/playlist_videos.sql
12 changes: 12 additions & 0 deletions apps/invidious/data/init/sql/annotations.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-- Table: public.annotations

-- DROP TABLE public.annotations;

CREATE TABLE IF NOT EXISTS public.annotations
(
id text NOT NULL,
annotations xml,
CONSTRAINT annotations_id_key UNIQUE (id)
);

GRANT ALL ON TABLE public.annotations TO current_user;
30 changes: 30 additions & 0 deletions apps/invidious/data/init/sql/channel_videos.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
-- Table: public.channel_videos

-- DROP TABLE public.channel_videos;

CREATE TABLE IF NOT EXISTS public.channel_videos
(
id text NOT NULL,
title text,
published timestamp with time zone,
updated timestamp with time zone,
ucid text,
author text,
length_seconds integer,
live_now boolean,
premiere_timestamp timestamp with time zone,
views bigint,
CONSTRAINT channel_videos_id_key UNIQUE (id)
);

GRANT ALL ON TABLE public.channel_videos TO current_user;

-- Index: public.channel_videos_ucid_idx

-- DROP INDEX public.channel_videos_ucid_idx;

CREATE INDEX IF NOT EXISTS channel_videos_ucid_idx
ON public.channel_videos
USING btree
(ucid COLLATE pg_catalog."default");

Loading

0 comments on commit 33c0f31

Please sign in to comment.