Missing volume informations for docker

Issue #3 resolved
Laurent Goussard created an issue

Hello,

It seems volume informations are missing from the docker hub webpage.
Option 1 and Option 2 are the same whereas the second one should provide a way to mount a persistent local volume, but the mounting point is missing.

I tried to find the missing information elsewhere, but the README is also errorneous: Compiling and running with docker-compose invites to checkout out the docker section which does not exists.

Comments (3)

  1. Ovidiu

    I “kinda” got it to work although the steps on the docker hub page to copy the initial DB are weird, maybe this helps you. I am running it behind traefik as a reverse proxy. Let me know if you have any other specific questions. I will also open my own issues check those out.

    version: '3.8'
    
    services:
    
    # https://hub.docker.com/r/wisemapping/wisemapping
    
      wisemapping:
        image: wisemapping/wisemapping:latest
        container_name: wisemapping
        hostname: wisemapping
        networks:
          - traefik
        volumes:
          - ./data/db:/var/lib/wisemapping/db
          - ./data/app.properties:/usr/local/tomcat/webapps/ROOT/WEB-INF/app.properties
        restart: "no"
    # commented the two lines below as it gave errors
    #    environment:
    #      - JAVA_OPTS=" -XX:+PrintFlagsFinal -XX:InitialRAMPercentage=30 -XX:MaxRAMPercentage=80"
        ulimits:
          memlock:
            soft: -1
            hard: -1
        mem_limit: 2g
        labels:
          - "traefik.enable=true"
          - "traefik.docker.network=traefik"
          - "traefik.http.routers.wisemapping.tls=true"
          - "traefik.http.routers.wisemapping.entrypoints=https"
          - "traefik.http.routers.wisemapping.rule=Host(`mindmap.mydomain.tld`)"
          - "traefik.http.routers.wisemapping.middlewares=secHeaders@file"
          - "traefik.http.services.wisemapping.loadbalancer.server.port=8080"
    # the line below was important to be set to http as tomcat expects http not https
          - "traefik.http.services.wisemapping.loadbalancer.server.scheme=http"
          - "traefik.http.routers.wisemapping.service=wisemapping"
    
    networks:
      traefik:
        external: true
        name: traefik
    

  2. Paulo Veiga

    Sorry for the delay. I have updated the information in the docker io readme. The need of the initial db copy is to avoid losing the changes after the email restarts.

    Please, reopen the issue if the issue still persist

  3. Log in to comment