add webtrees and gramps-web

This commit is contained in:
L4RM4ND 2023-11-19 16:30:55 +01:00
parent c683739fa7
commit 533e2eca46
5 changed files with 109 additions and 0 deletions

View File

@ -229,6 +229,10 @@ docker compose up
- [JetBrains YouTrack](examples/youtrack) - YouTrack is a proprietary, commercial browser-based bug tracker, issue tracking system and project management software developed by JetBrains.
- [Leantime](examples/leantime) - Leantime is an open source project management system for small teams and startups written in PHP, Javascript using MySQL.
### Genealogy
- [webtrees](examples/webtrees) - webtrees is the web's leading online collaborative genealogy application. It allows you to view and edit your genealogy on your selfhosted website.
- [Gramps-Web](examples/gramps-web) - Gramps Web is a web app for collaborative genealogy. It is based on and interoperable with Gramps, the leading open source genealogy desktop application.
## Star History
[![Star History Chart](https://api.star-history.com/svg?repos=Haxxnet/Compose-Examples&type=Date)](https://star-history.com/#Haxxnet/Compose-Examples&Date)

View File

@ -0,0 +1,5 @@
# References
- https://github.com/gramps-project/web
- https://www.grampsweb.org/
- https://www.grampsweb.org/Deployment/

View File

@ -0,0 +1,36 @@
version: "3.7"
services:
grampsweb:
image: ghcr.io/gramps-project/grampsweb:latest
container_name: gramps-web
restart: unless-stopped
ports:
- 5000:5000
expose:
- 5000
environment:
GRAMPSWEB_TREE: "Gramps Web" # will create a new tree if not exists
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gramps/users:/app/users # persist user database
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gramps/indexdir:/app/indexdir # persist search index
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gramps/thumbnail_cache:/app/thumbnail_cache # persist thumbnails
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gramps/cache:/app/cache # persist export and report caches
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gramps/secret:/app/secret # persist flask secret
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gramps/database:/root/.gramps/grampsdb # persist Gramps database
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gramps/media:/app/media # persist media files
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/gramps/tmp:/tmp
#networks:
# - proxy
#labels:
# - traefik.enable=true
# - traefik.docker.network=proxy
# - traefik.http.routers.gramps.rule=Host(`family.lrvt.de`)
# - traefik.http.services.gramps.loadbalancer.server.port=5000
# # Part for optional traefik middlewares
# - traefik.http.routers.gramps.middlewares=local-ipwhitelist@file
#networks:
# proxy:
# external: true

View File

@ -0,0 +1,3 @@
# References
- https://github.com/fisharebest/webtrees

View File

@ -0,0 +1,61 @@
version: "3"
services:
app:
image: nathanvaughn/webtrees:latest
container_name: webtrees
depends_on:
- db
environment:
PRETTY_URLS: "1"
HTTPS: "0"
HTTPS_REDIRECT: "0"
LANG: "en-US"
BASE_URL: "https://family.example.com" # please adjust to your FQDN URL
DB_TYPE: "mysql"
DB_HOST: "db"
DB_PORT: "3306"
DB_USER: "webtrees"
DB_PASS: "badpassword"
DB_NAME: "webtrees"
DB_PREFIX: "wt_"
PUID: "1000"
PGID: "1000"
ports:
- 8080:80
expose:
- 80
restart: unless-stopped
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/webtrees/data:/var/www/webtrees/data/
#networks:
# - proxy
# - webtrees-default
#labels:
# - traefik.enable=true
# - traefik.docker.network=proxy
# - traefik.http.routers.webtrees.rule=Host(`family.lrvt.de`)
# - traefik.http.services.webtrees.loadbalancer.server.port=80
# # Part for optional traefik middlewares
# - traefik.http.routers.webtrees.middlewares=local-ipwhitelist@file
db:
image: mariadb:latest
container_name: webtrees-db
environment:
MARIADB_DATABASE: "webtrees"
MARIADB_USER: "webtrees"
MARIADB_ROOT_PASSWORD: "badpassword"
MARIADB_PASSWORD: "badpassword"
restart: unless-stopped
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/webtrees/db:/var/lib/mysql
#networks:
# - webtrees-default
#networks:
# proxy:
# external: true
# webtrees-default:
# external: false