Problem running meemo (TCP)

Docker hub image

It seems to be using TCP port, and I haven't seen it before. I get 404, logs indicate it's running. Do I miss something?

Note: traefik.enable=true is on by default

version: "3.7"
services:
  traefik:
    image: docker.io/library/traefik:v2.5
    container_name: traefik
    command:
      # Try to enable this if something isn't working.
      # Chances are, Traefik will tell you why.
      # Be careful in production as it exposes the traffic you might not want to expose.
      #- --log.level=DEBUG

      - --entrypoints.http.address=:80
      - --entrypoints.https.address=:443

      - --providers.docker=true

      - --api=true

      # LetsEncrypt Staging Server - uncomment when testing
      - --certificatesResolvers.letsencrypt.acme.caServer=https://acme-staging-v02.api.letsencrypt.org/directory

      - --certificatesresolvers.letsencrypt.acme.httpchallenge=true
      - --certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=http
      - --certificatesresolvers.letsencrypt.acme.email=${EMAIL}
      - --certificatesresolvers.letsencrypt.acme.storage=/letsencrypt/acme.json
    labels:
      # Redirect all HTTP traffic to HTTPS
      - traefik.http.routers.to-https.rule=HostRegexp(`{host:.+}`)
      - traefik.http.routers.to-https.entrypoints=http
      - traefik.http.routers.to-https.middlewares=to-https

      - traefik.http.routers.traefik.entrypoints=https
      - traefik.http.routers.traefik.rule=Host(`traefik.${DOMAIN}`)
      - traefik.http.routers.traefik.middlewares=auth
      - traefik.http.routers.traefik.service=api@internal
      - traefik.http.routers.traefik.tls=true
      - traefik.http.routers.traefik.tls.certresolver=${CERT_RESOLVER}
      ## Middlewares
      - traefik.http.middlewares.to-https.redirectscheme.scheme=https
      - traefik.http.middlewares.auth.basicauth.users=${TRAEFIK_USER}:${TRAEFIK_PASSWORD_HASH}
    ports:
      - target: 80
        published: 80
        protocol: tcp
        mode: host
      - target: 443
        published: 443
        protocol: tcp
        mode: host
      - target: 8080
        published: 8080
        protocol: tcp
        mode: host
    volumes:
      - ./certs:/letsencrypt
      - /var/run/docker.sock:/var/run/docker.sock:ro

  meemodb:
    image: mongo
    container_name: meemodb
    volumes:
      - ./data/meemo/db:/data/db

  meemo:
    image: qmcgaw/meemo
    container_name: meemo
    volumes:
      - ./data/meemo/users.json:/users.json
      - ./data/meemo/data:/data
    environment:
      - CLOUDRON_MONGODB_URL=mongodb://meemodb:27017/meemo
      - CLOUDRON_APP_ORIGIN=http://notes.${DOMAIN}
      - LOCAL_AUTH_FILE=/users.json
    # ports:
    #   - 3000:3000/tcp
    depends_on:
      - meemodb
    labels:
      - traefik.http.routers.meemo.entrypoints=https
      - traefik.http.routers.meemo.rule=Host(`notes.${DOMAIN}`)
      - traefik.http.routers.meemo.tls=true
      - traefik.http.routers.meemo.tls.certresolver=${CERT_RESOLVER}
      ## HTTP Services
      - "traefik.http.routers.meemo.service=meemo-svc"
      - "traefik.http.services.meemo-svc.loadbalancer.server.port=3000"

Solved: It needed more time to boot. Cannot login though.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.