notea-org/notea

Docker Failed to Load Tree Error

cinetube opened this issue · 2 comments

Here is my docker compose -

services:
  notea-webapp:
    image: cinwell/notea
    container_name: notea-webapp
    ports:
      - "3000:3000"
    environment:
      - STORE_ACCESS_KEY=raspberry
      - STORE_SECRET_KEY=raspberry
      - STORE_BUCKET=notea
      - STORE_END_POINT=http://notea-db:9002
      - STORE_FORCE_PATH_STYLE=true
      - PASSWORD=raspberry
      - COOKIE_SECURE=false
      - BASE_URL="http://192.168.137.128:3000/"
  notea-db:
    image: minio/minio
    container_name: notea-db
    ports:
      - "9002:9000"
      - "9001:9001"
    environment:
      - MINIO_ROOT_USER=raspberry
      - MINIO_ROOT_PASSWORD=raspberry
    volumes:
      - /mnt/data:/data
    command: server /data --console-address ":9001"

I am facing problem to connect Notea with notea-db. Please help me to resolve this error. @QingWei-Li

Screenshot 2021-11-24 203425

were you able to pass this problem?

After few trial and error, here is what work for me.
The apps look nices, but lacking some essential feature like tagging

version: '2'
services:
  notea:
    container_name: notea
    image: cinwell/notea
    ports:
      - '9030:3000'
    depends_on:
      - minio
    environment:  
      - STORE_ACCESS_KEY=minio
      - STORE_SECRET_KEY=minio123
      - STORE_BUCKET=notea
      - PASSWORD=notea
      - STORE_END_POINT=http://minio:9000
      - STORE_FORCE_PATH_STYLE= true
    restart: unless-stopped
    networks:
      - notea    
  minio:
    image: minio/minio
    container_name: notea_minio
    ports:
      - '3001:9000'
      - '3002:9001'
    environment:
      - MINIO_ROOT_USER=minio
      - MINIO_ROOT_PASSWORD=minio123
    command: server /data --console-address ":3001"
    volumes:
      - ./minio:/data
    networks:
      - notea 
networks:
  notea: {}