Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

config.ts is being ignored #7

Open
Alex-joomla opened this issue Aug 5, 2024 · 5 comments
Open

config.ts is being ignored #7

Alex-joomla opened this issue Aug 5, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@Alex-joomla
Copy link

Describe the bug
I installed your Bento fork via docker compose. That is:

  bento:
    image: lewisdoesstuff/bento-next
    volumes:
      # Append Bento config/.env location to below line.
      - ./bento/config.ts:/usr/share/nginx/html/config.ts
      - ./bento/.env:/usr/share/nginx/html/.env
    ports:
      # Replace host port 80 (left side) with desired port.
      - 8900:8080

I have the config.ts in place but bento just uses defaults and ignores what I'm changing in the config file.

** Device Details (please complete the following information):**

  • OS: MacOSX Sonoma
  • Browser Chrome
@Alex-joomla Alex-joomla added the bug Something isn't working label Aug 5, 2024
@lewisdoesstuff
Copy link
Owner

I might have forgotten to update the compose file here, can you change the ./bento/config.ts:/usr/share/nginx/html/config.ts line to /bento/config.ts:/src/config.ts?

At least in my personal instance, that's what I'm using, but I can't remember if that was for some other reason

@Alex-joomla
Copy link
Author

Alex-joomla commented Aug 6, 2024

Unfortunately no difference. Got now:

bento:
    image: lewisdoesstuff/bento-next
    volumes:
      # Append Bento config/.env location to below line.
      - ./bento/config.ts:/src/config.ts
      - ./bento/.env:/usr/share/nginx/html/.env
    ports:
      # Replace host port 80 (left side) with desired port.
      - 8900:8080

And

Bildschirmfoto 2024-08-06 um 22 52 50

but I'm still John
Bildschirmfoto 2024-08-06 um 22 53 14

@lewisdoesstuff
Copy link
Owner

How strange,

While it shouldn't matter, can you try using an absolute path on the left side?

@Alex-joomla
Copy link
Author

Tried this too, but config.ts is still ignored

@lewisdoesstuff
Copy link
Owner

Well that's bizarre
How are you running it? docker-compose up from a shell or through something like Portainer?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants