mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-09 00:54:06 +01:00
Compare commits
4 Commits
9d7c00f836
...
f707a17e20
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f707a17e20 | ||
|
|
14832b3e01 | ||
|
|
9e995f02f0 | ||
|
|
975fa34b31 |
11
README.md
11
README.md
@ -63,6 +63,7 @@ docker compose up
|
|||||||
- [Genealogy](#genealogy)
|
- [Genealogy](#genealogy)
|
||||||
- [Identity Management - Single Sign-On (SSO) & LDAP](#identity-management---single-sign-on-sso--ldap)
|
- [Identity Management - Single Sign-On (SSO) & LDAP](#identity-management---single-sign-on-sso--ldap)
|
||||||
- [LLM & AI](#large-language-models--ai)
|
- [LLM & AI](#large-language-models--ai)
|
||||||
|
- [Metrics & Metric Collection](#metrics--metric-collection)
|
||||||
- [Miscellaneous](#miscellaneous)
|
- [Miscellaneous](#miscellaneous)
|
||||||
- [Money, Budgeting & Management](#money-budgeting--management)
|
- [Money, Budgeting & Management](#money-budgeting--management)
|
||||||
- [Note-taking & Editors](#note-taking--editors)
|
- [Note-taking & Editors](#note-taking--editors)
|
||||||
@ -249,6 +250,7 @@ Digital [archiving](https://en.wikipedia.org/wiki/Archival_science) and [preserv
|
|||||||
- [Archivebox](examples/archivebox) - ArchiveBox is a powerful, self-hosted internet archiving solution to collect, save, and view websites offline.
|
- [Archivebox](examples/archivebox) - ArchiveBox is a powerful, self-hosted internet archiving solution to collect, save, and view websites offline.
|
||||||
- [Shiori](examples/shiori) - Simple bookmark manager and website archiver built with Go.
|
- [Shiori](examples/shiori) - Simple bookmark manager and website archiver built with Go.
|
||||||
- [Readeck](examples/readeck) - Readeck is a simple web application that lets you save the precious readable content of web pages you like and want to keep forever.
|
- [Readeck](examples/readeck) - Readeck is a simple web application that lets you save the precious readable content of web pages you like and want to keep forever.
|
||||||
|
- [Linkwarden](examples/linkwarden) - Self-hosted collaborative bookmark manager to collect, organize, and preserve webpages, articles, and documents.
|
||||||
|
|
||||||
### Document Management
|
### Document Management
|
||||||
|
|
||||||
@ -446,6 +448,15 @@ Multiplayer game servers, browser games and utilities for managing game servers.
|
|||||||
- [posio](examples/posio) - A multiplayer geography game using Websockets.
|
- [posio](examples/posio) - A multiplayer geography game using Websockets.
|
||||||
- [Monkeytype](examples/monkeytype) - The most customizable typing website with a minimalistic design and a ton of features. Test yourself in various modes, track your progress and improve your speed.
|
- [Monkeytype](examples/monkeytype) - The most customizable typing website with a minimalistic design and a ton of features. Test yourself in various modes, track your progress and improve your speed.
|
||||||
|
|
||||||
|
### Metrics & Metric Collection
|
||||||
|
|
||||||
|
**[`^ back to top ^`](#-project-list)**
|
||||||
|
|
||||||
|
Metric gathering and display software.
|
||||||
|
|
||||||
|
- [Grafana](examples/grafana) - The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
|
||||||
|
- [Grafana-LRVT](examples/grafana-monitoring) - Grafana combined with other open-source tools like Loki, Promtail, InfluxDB and Telegraf.
|
||||||
|
|
||||||
### Miscellaneous
|
### Miscellaneous
|
||||||
|
|
||||||
**[`^ back to top ^`](#-project-list)**
|
**[`^ back to top ^`](#-project-list)**
|
||||||
|
|||||||
@ -46,6 +46,26 @@ services:
|
|||||||
#networks:
|
#networks:
|
||||||
# - monitoring_default
|
# - monitoring_default
|
||||||
|
|
||||||
|
#influxdb:
|
||||||
|
# image: influxdb:2.7
|
||||||
|
# container_name: influxdb2
|
||||||
|
# restart: unless-stopped
|
||||||
|
# expose:
|
||||||
|
# - 8086
|
||||||
|
# environment:
|
||||||
|
# - DOCKER_INFLUXDB_INIT_USERNAME=admin
|
||||||
|
# - DOCKER_INFLUXDB_INIT_PASSWORD=change-me-1 # <-- change this pw
|
||||||
|
# - DOCKER_INFLUXDB_INIT_ORG=influx-org
|
||||||
|
# - DOCKER_INFLUXDB_INIT_BUCKET=influx-bucket
|
||||||
|
# - DOCKER_INFLUXDB_INIT_RETENTION=30d
|
||||||
|
# - DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=change-me-2 # <-- change this pw
|
||||||
|
# - DOCKER_INFLUXDB_INIT_MODE=setup
|
||||||
|
# volumes:
|
||||||
|
# - ./volume-data/influxdb2/data:/var/lib/influxdb2
|
||||||
|
# - ./volume-data/influxdb2/conf:/etc/influxdb2
|
||||||
|
# networks:
|
||||||
|
# - monitoring_default
|
||||||
|
|
||||||
telegraf:
|
telegraf:
|
||||||
image: telegraf:latest
|
image: telegraf:latest
|
||||||
container_name: telegraf
|
container_name: telegraf
|
||||||
@ -74,7 +94,7 @@ services:
|
|||||||
# - monitoring_default
|
# - monitoring_default
|
||||||
|
|
||||||
grafana:
|
grafana:
|
||||||
image: grafana/grafana-oss:latest
|
image: grafana/grafana-oss:12.0.0
|
||||||
container_name: grafana
|
container_name: grafana
|
||||||
hostname: grafana
|
hostname: grafana
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
5
examples/grafana/README.md
Normal file
5
examples/grafana/README.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# References
|
||||||
|
|
||||||
|
- https://github.com/grafana/grafana
|
||||||
|
|
||||||
|
# Notes
|
||||||
28
examples/grafana/docker-compose.yml
Normal file
28
examples/grafana/docker-compose.yml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
services:
|
||||||
|
|
||||||
|
grafana:
|
||||||
|
image: grafana/grafana-oss:12.0.0
|
||||||
|
container_name: grafana
|
||||||
|
user: 1000:1000
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- GF_SERVER_ROOT_URL=https://grafana.example.com # <-- adjust
|
||||||
|
expose:
|
||||||
|
- 3000
|
||||||
|
ports:
|
||||||
|
- 3000:3000
|
||||||
|
volumes:
|
||||||
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/grafana:/var/lib/grafana
|
||||||
|
#networks:
|
||||||
|
# - proxy
|
||||||
|
#labels:
|
||||||
|
# - traefik.enable=true
|
||||||
|
# - traefik.docker.network=proxy
|
||||||
|
# - traefik.http.routers.grafana.rule=Host(`grafana.example.com`)
|
||||||
|
# - traefik.http.services.grafana.loadbalancer.server.port=3000
|
||||||
|
# # Optional part for traefik middlewares
|
||||||
|
# - traefik.http.routers.grafana.middlewares=local-ipwhitelist@file
|
||||||
|
|
||||||
|
#networks:
|
||||||
|
# proxy:
|
||||||
|
# external: true
|
||||||
@ -22,7 +22,7 @@ services:
|
|||||||
- keycloak-internal
|
- keycloak-internal
|
||||||
|
|
||||||
keycloak:
|
keycloak:
|
||||||
image: quay.io/keycloak/keycloak:25.0
|
image: quay.io/keycloak/keycloak:26.2
|
||||||
container_name: keycloak-app
|
container_name: keycloak-app
|
||||||
command: start
|
command: start
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
11
examples/linkwarden/.env
Normal file
11
examples/linkwarden/.env
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# change this env to your fqdn url
|
||||||
|
NEXTAUTH_URL=http://localhost:3000/api/v1/auth
|
||||||
|
#NEXTAUTH_URL=https://linkwarden.example.com/api/v1/auth
|
||||||
|
|
||||||
|
# define a strong secret key
|
||||||
|
NEXTAUTH_SECRET=unplug6-coherent-outlast-undergo-plow
|
||||||
|
|
||||||
|
# database settings
|
||||||
|
PG_PASS=linkwarden
|
||||||
|
PG_USER=linkwarden
|
||||||
|
PG_DB=linkwarden
|
||||||
8
examples/linkwarden/README.md
Normal file
8
examples/linkwarden/README.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# References
|
||||||
|
|
||||||
|
- https://docs.linkwarden.app/self-hosting/installation
|
||||||
|
- https://github.com/linkwarden/linkwarden
|
||||||
|
|
||||||
|
# Notes
|
||||||
|
|
||||||
|
|
||||||
68
examples/linkwarden/docker-compose.yml
Normal file
68
examples/linkwarden/docker-compose.yml
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
services:
|
||||||
|
|
||||||
|
linkwarden:
|
||||||
|
image: ghcr.io/linkwarden/linkwarden:latest
|
||||||
|
container_name: linkwarden-app
|
||||||
|
environment:
|
||||||
|
- DATABASE_URL=postgresql://${PG_USER:-linkwarden}:${PG_PASS:-linkwarden}@postgres:5432/${PG_DB:-linkwarden}
|
||||||
|
restart: unless-stopped
|
||||||
|
env_file: .env
|
||||||
|
ports:
|
||||||
|
- 3000:3000
|
||||||
|
expose:
|
||||||
|
- 3000
|
||||||
|
volumes:
|
||||||
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/linkwarden/data:/data/data
|
||||||
|
depends_on:
|
||||||
|
- postgres
|
||||||
|
- meilisearch
|
||||||
|
#networks:
|
||||||
|
# - internal
|
||||||
|
# - tier-2
|
||||||
|
#labels:
|
||||||
|
# - traefik.enable=true
|
||||||
|
# - traefik.docker.network=proxy
|
||||||
|
# - traefik.http.routers.linkwarden.rule=Host(`linkwarden.example.com`)
|
||||||
|
# - traefik.http.services.linkwarden.loadbalancer.server.port=3000
|
||||||
|
# # Optional part for traefik middlewares
|
||||||
|
# - traefik.http.routers.linkwarden.middlewares=local-ipwhitelist@file
|
||||||
|
|
||||||
|
postgres:
|
||||||
|
image: docker.io/library/postgres:16-alpine
|
||||||
|
container_name: linkwarden-psql
|
||||||
|
restart: unless-stopped
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
|
||||||
|
start_period: 20s
|
||||||
|
interval: 30s
|
||||||
|
retries: 5
|
||||||
|
timeout: 5s
|
||||||
|
volumes:
|
||||||
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/linkwarden/psql:/var/lib/postgresql/data
|
||||||
|
environment:
|
||||||
|
POSTGRES_PASSWORD: ${PG_PASS:-linkwarden}
|
||||||
|
POSTGRES_USER: ${PG_USER:-linkwarden}
|
||||||
|
POSTGRES_DB: ${PG_DB:-linkwarden}
|
||||||
|
expose:
|
||||||
|
- 5432
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
#networks:
|
||||||
|
# - internal
|
||||||
|
|
||||||
|
meilisearch:
|
||||||
|
image: getmeili/meilisearch:v1.12.8
|
||||||
|
container_name: linkwarden-search
|
||||||
|
restart: unless-stopped
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
volumes:
|
||||||
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/linkwarden/meili_data:/meili_data
|
||||||
|
#networks:
|
||||||
|
# - internal
|
||||||
|
|
||||||
|
#networks:
|
||||||
|
# tier-2:
|
||||||
|
# external: true
|
||||||
|
# internal:
|
||||||
|
# internal: true
|
||||||
Loading…
x
Reference in New Issue
Block a user