Receipt-Wrangler / receipt-wrangler-api

Server for Receipt Wrangler
GNU Affero General Public License v3.0
82 stars 1 forks source link

Cant find config.prod.json or any config file, that is #283

Closed zzahkaboom24 closed 3 months ago

zzahkaboom24 commented 3 months ago

Currently running on Docker with the following compose file, I even kept it at default for testing purposes, and I cant for the life of me find out where config.prod.json should be. I am trying to run it with MariaDB (microservices) and I dont know why it wont show up. If I need to share more info, logs or whatever, I can do so. All I could find were system changes to be stored was in my MariaDB container actually, however, I am unsure how to change stuff like "aiPoweredReceipts": true that I dont seem to find in the web ui

version: "3.5"
services:
  db:
    image: library/mariadb:10
    restart: always
    command: --sql-mode="ANSI_QUOTES"
    environment:
      - MYSQL_ROOT_PASSWORD=change_me2
      - MYSQL_USER=wrangler
      - MYSQL_PASSWORD=change_me
      - MYSQL_DATABASE=wrangler
    volumes:
      - ./mariadb:/var/lib/mysql
    healthcheck:
      test: [ "CMD", "mysqladmin", "ping", "--silent" ]
      interval: 10s
      timeout: 10s
      retries: 5

  proxy:
    image: noah231515/receipt-wrangler-proxy:latest
    ports:
      - 9082:80
    depends_on:
      - api
      - frontend

  api:
    image: noah231515/receipt-wrangler-api:latest
    restart: always
    working_dir: /go/api
    command: ./api --env prod
    ports:
      - 9080:8081
    volumes:
      - ./data:/go/api/data
      - ./logs:/go/api/logs
    environment:
      - ENCRYPTION_KEY=encryptionKey
      - SECRET_KEY=secretKey
      - DB_USER=wrangler
      - DB_PASSWORD=change_me
      - DB_NAME=wrangler
      - DB_HOST=db
      - DB_PORT=3306
      - DB_ENGINE=mariadb
    depends_on:
      db:
        condition: service_healthy

  frontend:
    image: noah231515/receipt-wrangler-desktop:latest
    restart: always
    ports:
      - 9081:80
Noah231515 commented 3 months ago

Hey thanks for checking out Receipt Wrangler! As of v5, there is no longer a need for the config file.

Check out the v5 docs https://receiptwrangler.io/docs/getting-started/ and follow the installation instructions. There are also updated docker compose for v5 as well.

The installation now is really simple. Should be able to copy paste a docker compose file to get started, but I still recommend reading the getting started docs first.

zzahkaboom24 commented 3 months ago

Hey thanks for checking out Receipt Wrangler! As of v5, there is no longer a need for the config file.

Check out the v5 docs https://receiptwrangler.io/docs/getting-started/ and follow the installation instructions. There are also updated docker compose for v5 as well.

The installation now is really simple. Should be able to copy paste a docker compose file to get started, but I still recommend reading the getting started docs first.

I did before and it works just fine, always did, I know. Receipt Wrangler works perfectly fine in the browser too, and I love it. I am just confused on how to fix this issue on the mobile app. I tried looking for Quick Scan or AI Powered Receipts, but I couldn't find anything clear, so I dont know how to add receipts from the mobile app in that case. Hence why I assumed I needed to look into some config or whatever, according to the v4 or Next documentation. The v5 documentation had no mention of it, hence me checking the database. Screenshot_2024-08-03-15-47-22-972_io.receiptwrangler-edit.jpg

zzahkaboom24 commented 3 months ago

I just built the mobile app from source since I found this #82 Which is newer than the mobile app itself from the play store (version 1.3.0) and the Add Manual Receipt option is exactly what I am looking for. In that case, Receipt-Wrangler now works exactly how I want it to. Thanks for such a great app :D image

Noah231515 commented 3 months ago

@zzahkaboom24 Ah gotcha. As a heads up, version 1.4.0 will be coming out on Monday, which includes adding receipts manually 🥳

zzahkaboom24 commented 3 months ago

Nice :D