# Gramps installation on a VM on Synology NAS

**URL:** <https://gramps.discourse.group/t/gramps-installation-on-a-vm-on-synology-nas/1634>\
**Category:** Gramps Web\
**Tags:** websolutions\
**Created:** [July 11, 2021, 1:39pm UTC](https://gramps.discourse.group/t/gramps-installation-on-a-vm-on-synology-nas/1634 "2021-07-11T13:39:27Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![Kablammo](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@Kablammo](https://gramps.discourse.group/u/Kablammo)\
**Post date:** [August 6, 2024, 10:33pm UTC](https://gramps.discourse.group/t/gramps-installation-on-a-vm-on-synology-nas/1634/25 "2024-08-06T22:33:42Z")

</div>

Hello all, I thought it’d be best to tag on here.

So I was using Gramps locally until the other night when I followed the tutorial from Vivian found [here](https://vivianlobo.medium.com/how-to-install-gramps-web-on-a-synology-nas-af80784c1618) (Medium article - portainer deployment). It worked like a charm, I could immediately connect to gramps web via [http://192.168.1.X:5054/](http://192.168.1.X:5054/).

I would like this application to be accessible from the web.

I have since set up the synology DDNS which includes simply ticking a box for a let’s encrypt certificate. I set up my router to forward to port 5054.

It seems as though, manually typing the http:// url into the browser on mobile phones works, the connection goes through.

However, whatsapp converts links to https meaning that when the link is clicked from a whatsapp message, the link won’t work.

So I found the article [Setting up HTTPS with Let’s Encrypt and Docker Compose](https://www.grampsweb.org/LetsEncrypt/)

I copied the [nginx\_proxy.conf](https://raw.githubusercontent.com/gramps-project/gramps-web-docs/main/examples/docker-compose-letsencrypt/nginx_proxy.conf) to /volume1/docker/grampsweb/

and then used the original script from vivian, and combined it with the script from [Gramps Web with nginx proxy manager (NMP) docker container - #3 by mreugene](https://gramps.discourse.group/t/gramps-web-with-nginx-proxy-manager-nmp-docker-container/3837/3) to produce the following, which created the stack:

> version: “3.7”
> 
> services:  
> grampsweb: &grampsweb  
> image: [Package grampsweb · GitHub](http://ghcr.io/gramps-project/grampsweb:latest)  
> restart: always  
> ports:  
> - “5054:5000” # host:docker  
> environment:  
> GRAMPSWEB\_TREE: “Gramps Web” # will create a new tree if not exists  
> GRAMPSWEB\_CELERY\_CONFIG\_\_broker\_url: “redis://grampsweb\_redis:6379/0”  
> GRAMPSWEB\_CELERY\_CONFIG\_\_result\_backend: “redis://grampsweb\_redis:6379/0”  
> GRAMPSWEB\_RATELIMIT\_STORAGE\_URI: redis://grampsweb\_redis:6379/1  
> depends\_on:  
> - grampsweb\_redis  
> volumes:  
> - gramps\_users:/app/users # persist user database  
> - gramps\_index:/app/indexdir # persist search index  
> - gramps\_thumb\_cache:/app/thumbnail\_cache # persist thumbnails  
> - gramps\_secret:/app/secret # persist flask secret  
> - /volume1/docker/grampsweb/grampsdb:/root/.gramps/grampsdb # persist Gramps database  
> - /volume1/docker/grampsweb/gramps\_media:/app/media # persist media files
> 
> grampsweb\_celery:  
> image: [Package grampsweb · GitHub](http://ghcr.io/gramps-project/grampsweb:latest)  
> restart: always  
> container\_name: grampsweb\_celery  
> environment:  
> GRAMPSWEB\_TREE: “Gramps Web” # will create a new tree if not exists  
> GRAMPSWEB\_CELERY\_CONFIG\_\_broker\_url: “redis://grampsweb\_redis:6379/0”  
> GRAMPSWEB\_CELERY\_CONFIG\_\_result\_backend: “redis://grampsweb\_redis:6379/0”  
> GRAMPSWEB\_RATELIMIT\_STORAGE\_URI: redis://grampsweb\_redis:6379/1  
> depends\_on:  
> - grampsweb\_redis  
> command: celery -A gramps\_webapi.celery worker --loglevel=INFO
> 
> grampsweb\_redis:  
> image: redis:alpine  
> container\_name: grampsweb\_redis  
> restart: always
> 
> volumes:  
> gramps\_users:  
> gramps\_index:  
> gramps\_thumb\_cache:  
> gramps\_secret:  
> gramps\_db:  
> gramps\_media:

The stack deployed successfully.  
However, didn’t resolve anything

[http://url:5054](http://url:5054) works  
[https://url:5054](https://url:5054) doesn’t.

Does anyone here have experience with how to resolve this? What am I misunderstanding/doing wrong?

---

_[View the full topic](https://gramps.discourse.group/t/gramps-installation-on-a-vm-on-synology-nas/1634)._
