snapp: Reload "F5" results in Page not available

Hi there,

I installed snapp in Docker on my Synology NAS with following .yaml:

version: '3'
services:
  redis:
    image: redis/redis-stack:latest
    container_name: Snapp-REDIS
    # ports: # you can specify LOCAL_IP OR VPN_IP to make db or redis insight available privately
    # - (LOCAL_IP or VPN_IP):6379:6379/tcp
    # - (LOCAL_IP or VPN_IP):8001:8001
    volumes:
      - /volume1/docker/snapp/redis:/data:rw
      # this make sure to enable persistance through docker restarts
      # and shutdowns or updates -- change it to a folder of your choise
      - /etc/localtime:/etc/localtime:ro
   #networks:
   #   - snapp-stack
    environment:
      REDIS_ARGS: '--save 60 1 --appendonly yes' # Optional: `--requirepass mypassword`
    healthcheck:
      test: ["CMD-SHELL", "redis-cli ping || exit 1"]
    restart: unless-stopped

  snapp:
    image: uraniadev/snapp:latest
    container_name: Snapp
    ports:
      - 6421:3000
    volumes:
      # provide origin json downloadable
      # from github if you intend to use it
      #
      # - /home/snapp/app/translations:/app/translations:ro 
      # - /home/snapp/redis/theme/theme.css:/app/static/custom-theme.css
      # See (Discussion about theming)[https://github.com/urania-dev/snapp/discussions/18]
      - /volume1/docker/snapp/app/translations:/app/translations:ro
      # - /volume1/docker/snapp/redis/theme/theme.css:/app/static/custom-theme.css
    depends_on:
     redis: 
      condition: service_healthy
    #networks:
    #  - snapp-stack
    environment:
      AUTH_SECRET: XXX
      DB_HOST: redis
      # DB_PASS: # Optional: Requires `--requirepass mypassword` in REDIS_ARGS
      DB_PORT: 6379
      # DB_IDX: 0
      ALLOW_UNSECURE_HTTP: true
      ENABLE_LIMITS: false
      ENABLE_SIGNUP: false
      ENABLE_HOME: true
      DEFAULT_THEME: dark
      DEFAULT_LANG: en
      LOCALIZATION_FOLDER: /app/translations
      # MAX_SHORT_URL: 10
      # MAX_USAGES: 0
      # MAX_RPM: 0
      # MAX_RPD: 0
      # UMAMI_WEBSITE_ID:
      # UMAMI_URL:
      # VIRUSTOTAL_API_KEY:
      PUBLIC_URL: https://url.web.de
      ORIGIN: https://url.web.de
      # NODE_ENV: production
      # NODE_ENV: development 
      TIMEZONE: Europe/Berlin
      SMTP_HOST: abc.de
      SMTP_USER: 
      SMTP_PASSWORD: 
      SMTP_FROM: a@b.de

networks:
  #snapp-stack: # Snapp Network so Snapp and redis can communicate but redis is isolated from the wan
  #external: false
    default:
       external:
          name: Diverses

Now I have the following issue. I start the project on my NAS. Everything starts up fine. It runs with a reverse proxy so that I can connect from external. If I press F5 on the page it cant load the page anymore until I delete the Cookies.

If Home is disabled it is more difficult to get back at all.

I even tried reverse proxy with http instead of https and also tried different port settings. nothing helps.

Can anyone help me with that problem?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 25 (13 by maintainers)

Most upvoted comments

Weird indeed, i’ll try to look into it

Do the dockers leave any dock regarding this issue? Like missing cookies or settings from cookie?