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

variables have no effect on settings.json #85

Open
aristosv opened this issue Jan 25, 2025 · 0 comments
Open

variables have no effect on settings.json #85

aristosv opened this issue Jan 25, 2025 · 0 comments

Comments

@aristosv
Copy link

This is how I build the zilean container

  zilean:
    image: ipromknight/zilean
    container_name: zilean
    hostname: zilean
    restart: unless-stopped
    environment:
      - PUID=0
      - PGID=0
      - TZ=Europe/Nicosia
      - Zilean__EnableDashboard=true
      - Zilean__Database__ConnectionString="Host=zilean-postgres;Database=zilean;Username=postgres;Password=postgres;"
    ports:
      - 8181:8181
    volumes:
      - zilean:/app/data

  zilean-postgres:
    image: postgres
    container_name: zilean-postgres
    hostname: zilean-postgres
    restart: unless-stopped
    environment:
      - PUID=0
      - PGID=0
      - TZ=Europe/Nicosia
      - POSTGRES_DB=zilean
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=postgres
      - PGDATA=/var/lib/postgresql/data/pgdata
    volumes:
      - zilean-postgres:/var/lib/postgresql/data

But the "Zilean__EnableDashboard" and "Zilean__Database__ConnectionString" have no effect on "settings.json".

This is settings.json

{
  "Zilean": {
    "ApiKey": "df8e7479882345aab909d395f981c951f3a57072dda449e5a950faac8d8582d3",
    "FirstRun": true,
    "EnableDashboard": false,
    "Dmm": {
      "EnableScraping": true,
      "EnableEndpoint": true,
      "ScrapeSchedule": "0 * * * *",
      "MinimumReDownloadIntervalMinutes": 30,
      "MaxFilteredResults": 200,
      "MinimumScoreMatch": 0.85
    },
    "Torznab": {
      "EnableEndpoint": true
    },
    "Database": {
      "ConnectionString": "Host=postgres;Database=zilean;Username=postgres;Password=postgres;Include Error Detail=true;Timeout=30;CommandTimeout=3600;"
    },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant