Refactor Olomana repo

This commit is contained in:
whitney 2025-02-11 14:30:38 -08:00
parent 21008c0f70
commit 3d62266c01
86 changed files with 82 additions and 59 deletions

View File

@ -1,5 +1,21 @@
# olomana
The PWS 2.0 redesign, successor to https://github.com/runyanjake/whitney.
The PWS 2.0 redesign, successor to https://github.com/runyanjake/whitney.
This repo is a collection of configuration files for various FOSS projects I have selfhosted on PWS in the past.
Learn more about PWS 2.0 at the [PWS Homepage](https://www.whitney.rip).
## Table of Contents
- [Quick Start](#quick-start)
- [About](#about)
- [Setup](#setup)
- [Hardware](#hardware)
- [Software](#software)
## Quick Start
Start and stop containers on demand using the companion scripts `start-containers.sh` and `stop-containers.sh`.
Both take one or more folders as input, each containing relevant docker files.
- If a `Dockerfile` is present, we will build the container.
- If a `docker-compose.yml` is present, we will attempt to start the container.
- If none is present, the folder will be skipped.
## About

7
ai/README.md Normal file
View File

@ -0,0 +1,7 @@
# AI
Docker containers relating to AI topics - LLMs, Generative AI, etc.
## Table of Contents
- [Comfy UI](#comfyui/README.md)
- [Open WebUI](#openwebui/README.md)

6
games/README.md Normal file
View File

@ -0,0 +1,6 @@
# Games
Game servers and utils to help you run, play, and enhance your game experiences.
## Table of Contents
- [Minecraft](#minecraft/README.md)

6
home/README.md Normal file
View File

@ -0,0 +1,6 @@
# Home
A collection of home automation tools that automate your life without giving all your data away.
## Table of Contents
- [Home Assistant](#homeassistant/README.md)

11
media/README.md Normal file
View File

@ -0,0 +1,11 @@
# Media
Utilities helping you download, share, create, and upload media.
## Table of Contents
- [Immich](#immich/README.md)
- [Metube](#metube/README.md)
- [Photoprism](#photoprism/README.md)
- [Plex](#plex/README.md)
- [Send](#send/README.md)
- [Transmission](#transmission/README.md)

7
misc/README.md Normal file
View File

@ -0,0 +1,7 @@
# Misc
Uncategorized utils that have their own niche usage.
## Table of Contents
- [Covid 19 App](#covid19/README.md)
- [Homepage](#homepage/README.md)

View File

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

Before

Width:  |  Height:  |  Size: 5.5 MiB

After

Width:  |  Height:  |  Size: 5.5 MiB

View File

Before

Width:  |  Height:  |  Size: 1.6 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

View File

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

View File

Before

Width:  |  Height:  |  Size: 293 KiB

After

Width:  |  Height:  |  Size: 293 KiB

View File

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 66 KiB

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Before

Width:  |  Height:  |  Size: 5.4 MiB

After

Width:  |  Height:  |  Size: 5.4 MiB

View File

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 1.7 MiB

View File

Before

Width:  |  Height:  |  Size: 262 KiB

After

Width:  |  Height:  |  Size: 262 KiB

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -1,12 +0,0 @@
# Monica
Personal CRM manager.
https://github.com/monicahq/monica/blob/4.x/docs/installation/providers/docker.md
### Installation
In configuration, make sure to set `APP_ENV=production` and `APP_DEBUG=false` or the UI will be in html only mode, not serving js/css.
`docker-compose down && docker system prune && docker-compose up -d`

View File

@ -1,44 +0,0 @@
version: "3"
networks:
[TRAEFIK_NETWORK]:
external: true
services:
app:
image: monica:latest
container_name: monica
restart: unless-stopped
depends_on:
- db
ports:
- [SERVER_PORT]:80
networks:
- [TRAEFIK_NETWORK]
environment:
- APP_KEY=[APP_KEY]
- DB_HOST=[DATABASE_HOST]
- DB_USERNAME=[DATABASE_USER]
- DB_PASSWORD=[DATABASE_PASS]
- APP_ENV=production
- APP_DEBUG=false
volumes:
- /pwspool/software/monica/app:/var/www/html/storage
restart: always
labels:
- traefik.http.routers.monica.rule=Host(`[SUBDOMAIN_URL]`)
- traefik.http.routers.monica.tls=true
- traefik.http.routers.monica.tls.certresolver=lets-encrypt
- traefik.http.services.monica.loadbalancer.server.port=80
db:
image: mysql:5.7
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=true
- MYSQL_DATABASE=[DATABASE_HOST]
- MYSQL_USER=[DATABASE_USERNAME]
- MYSQL_PASSWORD=[DATABASE_PASSWORD]
volumes:
- /pwspool/software/monica/db:/var/lib/mysql
restart: always

2
plex/.gitignore vendored
View File

@ -1,2 +0,0 @@
docker-compose.yml

View File

@ -0,0 +1,11 @@
# Software Development
Utilities for developing, hosting, and managing software.
## Table of Contents
- [Code Server](#code-server/README.md)
- [Gitea](#gitea/README.md)
- [Grafana](#grafana/README.md)
- [Jenkins](#jenkins/README.md)
- [Portainer](#portainer/README.md)
- [Traefik](#traefik/README.md)

17
start-all-containers.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/bash
# List of container paths to start
declare -a CONTAINERS=(
"ai/openwebui"
"home/homeassistant"
"media/immich"
"media/plex"
"media/send"
"media/transmission"
"software-development/code-server"
"software-development/grafana"
"software-development/traefik"
)
# Start all containers in one call to start-containers.sh
./start-containers.sh "${CONTAINERS[@]}"