Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Truenas Scale Electric Eel only nginx page is ever visible #3524

Open
lzinga opened this issue Jan 31, 2025 · 0 comments
Open

Truenas Scale Electric Eel only nginx page is ever visible #3524

lzinga opened this issue Jan 31, 2025 · 0 comments
Labels
setup issue possibly or definitely an issue with the user setup

Comments

@lzinga
Copy link

lzinga commented Jan 31, 2025

Issue

I have been attempting to install tandoor within my TrueNAS Scale (Electric Eel version specifically which supports docker) and I only ever get the nginx splash screen. It won't show any actual content. I have provided my compose file and hope this is something simple that I am missing. I used the file referenced in the truenas portainer installation and modified it to not use the .env file.

As an alternative note, since truenas has an application dashboard it would be cool if tandoor was included as an app that could be installed with a lot of the default settings configured for you. (https://www.truenas.com/docs/truenasapps/usingcustomapp/)

Tandoor Version

Latest

OS Version

Truenas Scale Electric Eel 24.10.1

Setup

Docker / Docker-Compose

Reverse Proxy

No reverse proxy

Other

No response

Environment file

Docker-Compose file

services:
  db_recipes:
    environment:
      - POSTGRES_DB=tandoor
      - POSTGRES_USER=tandoor
      - POSTGRES_PASSWORD=[password]
    image: postgres:16-alpine
    restart: unless-stopped
    volumes:
      - /mnt/HDDs/Applications/tandoor/data:/var/lib/postgresql/data
  nginx_recipes:
    depends_on:
      - web_recipes
    image: nginx:mainline-alpine
    ports:
      - '8777:80'
    restart: always
    volumes:
      - nginx_config:/etc/nginx/conf.d:ro
      - /mnt/HDDs/Applications/tandoor/staticfiles:/static:ro
      - /mnt/HDDs/Applications/tandoor/media:/media:ro
  web_recipes:
    depends_on:
      - db_recipes
    environment:
      - SECRET_KEY=[key]
      - DB_ENGINE=django.db.backends.postgresql
      - DEBUG=0
      - POSTGRES_HOST=db_recipes
      - POSTGRES_DB=tandoor
      - POSTGRES_PORT=5432
      - POSTGRES_USER=tandoor
      - ALLOWED_HOSTS=*
      - POSTGRES_PASSWORD=[password]
    image: vabene1111/recipes
    restart: unless-stopped
    volumes:
      - /mnt/HDDs/Applications/tandoor/staticfiles:/opt/recipes/staticfiles
      - nginx_config:/opt/recipes/nginx/conf.d
      - /mnt/HDDs/Applications/tandoor/media:/opt/recipes/mediafiles
volumes:
  nginx_config

Relevant logs

Nothing is visible in the logs, everything says it is up and running and the web_recipes can access the db
@lzinga lzinga added the setup issue possibly or definitely an issue with the user setup label Jan 31, 2025
@lzinga lzinga changed the title Truenas Scale Electric Eel can't only nginx is ever visible Truenas Scale Electric Eel only nginx page is ever visible Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
setup issue possibly or definitely an issue with the user setup
Projects
None yet
Development

No branches or pull requests

1 participant