Skip to content

Commit

Permalink
add webtrees and gramps-web
Browse files Browse the repository at this point in the history
  • Loading branch information
l4rm4nd committed Nov 19, 2023
1 parent c683739 commit 533e2ec
Show file tree
Hide file tree
Showing 5 changed files with 109 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
5 changes: 5 additions & 0 deletions examples/gramps-web/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# References

- https://github.com/gramps-project/web
- https://www.grampsweb.org/
- https://www.grampsweb.org/Deployment/
36 changes: 36 additions & 0 deletions examples/gramps-web/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions examples/webtrees/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# References

- https://github.com/fisharebest/webtrees
61 changes: 61 additions & 0 deletions examples/webtrees/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 533e2ec

Please sign in to comment.