FINALLY solved this

This commit is contained in:
Brodin 2024-08-19 14:18:53 -04:00
parent 7c4cc5600d
commit a14b7e37c9
3 changed files with 80 additions and 3 deletions

View File

@ -1,9 +1,21 @@
# Docker Compose for my Media Server # Docker Compose for my Media Server
A giant suite of web apps that I personally use on my local server. Some of them include:
* Arr - A collection of all the *arr apps like Radarr and Sonarr * Arr - A collection of all the *arr apps like Radarr and Sonarr
* Dashboard - Replies on Homarr and Dashdot for a top-level dashboard * Dashboard - Replies on Homarr and Dashdot for a top-level dashboard
* Mail - An email service (WIP) * Git Repo
* Nginx-Proxy - Handles reverse proxy and SSL certs * Nextcloud - Cloud storage and sharing
* Plex - The Plex media server with stats * Plex - The Plex media server with stats
* Readers - Various media readers that can be accessed via the browser * Readers - Various media readers that can be accessed via the browser
* Wordpress - for making a site * Sites - Various static sites I have. All of them are using the Ghost CMS
All the apps use Nginx-Proxy which handles reverse proxy and SSL certs for every app.
## Adding a new app
Use this checklist if you're having issue getting the app to run:
* Allow ports on your machine (e.g. `ufw allow 80`)
* Set port forwarding on your router

1
stats/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
noco/

64
stats/docker-compose.yml Normal file
View File

@ -0,0 +1,64 @@
services:
share-db:
environment:
POSTGRES_DB: share-db
POSTGRES_PASSWORD: password
POSTGRES_USER: postgres
image: postgres
restart: always
volumes:
- ./data/sharedb:/var/lib/postgresql/data
noco:
container_name: noco
image: nocodb/nocodb:latest
depends_on:
- noco-db
ports:
- 3006:8080
environment:
NC_DB: pg://noco-db:5432?u=postgres&p=password&d=database-noco
VIRTUAL_HOST: nocodb.brodin.rocks
LETSENCRYPT_HOST: nocodb.brodin.rocks
LETSENCRYPT_EMAIL: ${EMAIL}
volumes:
- ./noco:/usr/app/data
noco-db:
environment:
POSTGRES_DB: database-noco
POSTGRES_PASSWORD: password
POSTGRES_USER: postgres
image: postgres
restart: always
volumes:
- ./data/nocodb:/var/lib/postgresql/data
metabase:
container_name: metabase
image: metabase/metabase:latest
depends_on:
- metabase-db
ports:
- 4018:3000
environment:
MB_DB_TYPE: postgres
MB_DB_DBNAME: ${PGDATABASE:-postgres}
MB_DB_PORT: 5432
MB_DB_USER: ${PGUSER:-postgres}
MB_DB_PASS: ${PGPASSWORD}
MB_DB_HOST: ${PGHOST}
VIRTUAL_HOST: "metabase.brodin.rocks"
LETSENCRYPT_HOST: "metabase.brodin.rocks"
LETSENCRYPT_EMAIL: ${EMAIL}
metabase-db:
container_name: metabase-db
image: postgres:15.4
restart: always
environment:
POSTGRES_PASSWORD: ${PGPASSWORD}
POSTGRES_USER: ${PGUSER:-postgres}
POSTGRES_DB: ${PGDATABASE:-postgres}
volumes:
- ./data/metabase:/var/lib/postgresql/data
networks:
default:
name: nginx-proxy
external: true