Difficulty with Gramps Web docker

My apologies if there is a document that covers my question. I have searched and been unsuccessful.

My thanks to the team for all the work! I have seen Gramps running and am impressed and looking forward to being able to use it.

My operating system is Ubuntu 20.04.3 LTS
My docker version is 20.10.11
My docker compose is version 1.29.2

I do not have a current database. My goal is to get the web Gramps running on localhost, and add a database and users.

The problem: I can get a container running using the docker-compose up command, but these status stays at RESTARTING and I cannot reach GRAMPS using 5000, 80 or 5554.

Any assistance would be greatly appreciated.

I am following the instructions on Docker - Gramps Web

Titled: Deploying Gramps Web with Docker.

I have created a docker-compose.yml. My yml is:

version: “3.7”

services:
grampsweb:
image: ghcr.io_gramps-project/grampsweb:latest (changed from link)
restart: always
ports:
- “80:5000”
environment:
TREE: “myname” # set the name of your family tree
SECRET_KEY: “left out for security” # set your secret key
BASE_URL: “http//:localhost:5554”
volumes:
- gramps_users:/app/users
- gramps_index:/app/indexdir
- gramps_thumb_cache:/app/thumbnail_cache
- ~/gramps_db:/root/.gramps/grampsdb
- ~/gramps_media:/app/media

volumes:
gramps_users:
gramps_index:
gramps_thumb_cache:

Hi,
I had the same issue a couple of weeks ago. You can check here
Instead of the docker-compose you are using, I used the one mentioned on this link

As I see it packages all the missing blocks to make use of the front-end.

here is the docker-compose data from the link above:

version: "3.7"

services:
  grampsweb: &grampsweb
    image: ghcr.io/gramps-project/grampsweb:latest
    restart: always
    ports:
      - "80: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_cache:/app/cache  # persist export and report caches
      - gramps_secret:/app/secret  # persist flask secret
      - gramps_db:/root/.gramps/grampsdb  # persist Gramps database
      - gramps_media:/app/media  # persist media files
      - gramps_tmp:/tmp

  grampsweb_celery:
    <<: *grampsweb  # YAML merge key copying the entire grampsweb service config
    ports: []
    container_name: grampsweb_celery
    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_cache:
  gramps_secret:
  gramps_db:
  gramps_media:
  gramps_tmp:
1 Like