-
-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
109 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# References | ||
|
||
- https://github.com/fisharebest/webtrees |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |