diff --git a/README.md b/README.md index 95ba3edcd..52355bbbd 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/examples/gramps-web/README.md b/examples/gramps-web/README.md new file mode 100644 index 000000000..241801fa2 --- /dev/null +++ b/examples/gramps-web/README.md @@ -0,0 +1,5 @@ +# References + +- https://github.com/gramps-project/web +- https://www.grampsweb.org/ +- https://www.grampsweb.org/Deployment/ diff --git a/examples/gramps-web/docker-compose.yml b/examples/gramps-web/docker-compose.yml new file mode 100644 index 000000000..55e644bb1 --- /dev/null +++ b/examples/gramps-web/docker-compose.yml @@ -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 diff --git a/examples/webtrees/README.md b/examples/webtrees/README.md new file mode 100644 index 000000000..ad07a1f5f --- /dev/null +++ b/examples/webtrees/README.md @@ -0,0 +1,3 @@ +# References + +- https://github.com/fisharebest/webtrees diff --git a/examples/webtrees/docker-compose.yml b/examples/webtrees/docker-compose.yml new file mode 100644 index 000000000..4ed017942 --- /dev/null +++ b/examples/webtrees/docker-compose.yml @@ -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