Git Product home page Git Product logo

Comments (10)

lexxanite avatar lexxanite commented on August 28, 2024 1

@BeryJu It would just need to be loaded into Dockerhub, which I believe to keep it up to date if you authorize it to pull from your profile on github. The default docker configuration has issues pulling from github, I haven't consistently gotten it to work without using a custom container profile. https://www.youtube.com/watch?v=g6iMwea-HLY

@cyberjacob Most Unraid users use the Apps tab, which has preloaded templates for use with Unraid to expedite deployment of docker containers. https://www.youtube.com/watch?v=rokY1i6SA5A

from authentik.

rafaelmathieu avatar rafaelmathieu commented on August 28, 2024 1

Currently you can do it in unraid easily (but not natively) using portainer stacks. That is the way I am currently doing it.

Here is a copy of my config working in unraid via portainer



---
version: '3.2'

services:
  server:
    image: ${AUTHENTIK_IMAGE:-goauthentik.io/server}:${AUTHENTIK_TAG:-latest}
    restart: unless-stopped
    command: server
    environment:
      AUTHENTIK_REDIS__HOST: redis  #Reference to unraid redis instance
      # Database
      AUTHENTIK_POSTGRESQL__HOST: postgresql14 #Reference to unraid postgres instance
      AUTHENTIK_POSTGRESQL__USER: username
      AUTHENTIK_POSTGRESQL__NAME: dbname
      AUTHENTIK_POSTGRESQL__PASSWORD: password
      # Other
      AUTHENTIK_ERROR_REPORTING__ENABLED: "true"
      AUTHENTIK_AVATARS: gravatar
      AUTHENTIK_SECRET_KEY: secretkey
      # Email
      AUTHENTIK_EMAIL__HOST: email host
      AUTHENTIK_EMAIL__PORT: port
      AUTHENTIK_EMAIL__USERNAME: login
      AUTHENTIK_EMAIL__PASSWORD: password
      AUTHENTIK_EMAIL__USE_TLS: "false"
      AUTHENTIK_EMAIL__USE_SSL: "true"
      AUTHENTIK_EMAIL__TIMEOUT: 10
      AUTHENTIK_EMAIL__FROM: emailFrom
    volumes:
      - /mnt/user/appdata/authentik/media:/media
      - /mnt/user/appdata/authentik/custom-templates:/templates
    ports:
      - "0.0.0.0:9000:9000"
      - "0.0.0.0:9443:9443"
    networks:
      default:
        ipv4_address: 192.168.0.1 #enter unique IP address if you want to manually choose the ip
  worker:
    image: ${AUTHENTIK_IMAGE:-goauthentik.io/server}:${AUTHENTIK_TAG:-latest}
    restart: unless-stopped
    command: worker
    environment:
      AUTHENTIK_REDIS__HOST: redis
      # Database
      AUTHENTIK_POSTGRESQL__HOST: postgresql14 #Reference to unraid postgres instance
      AUTHENTIK_POSTGRESQL__USER: username
      AUTHENTIK_POSTGRESQL__NAME: dbname
      AUTHENTIK_POSTGRESQL__PASSWORD: password
      # Other
      AUTHENTIK_ERROR_REPORTING__ENABLED: "true"
      AUTHENTIK_AVATARS: gravatar
      AUTHENTIK_SECRET_KEY: secretkey
      # Email
      AUTHENTIK_EMAIL__HOST: email host
      AUTHENTIK_EMAIL__PORT: port
      AUTHENTIK_EMAIL__USERNAME: login
      AUTHENTIK_EMAIL__PASSWORD: password
      AUTHENTIK_EMAIL__USE_TLS: "false"
      AUTHENTIK_EMAIL__USE_SSL: "true"
      AUTHENTIK_EMAIL__TIMEOUT: 10
      AUTHENTIK_EMAIL__FROM: emailFrom
    user: root
    volumes:
      - /mnt/user/appdata/authentik/backups:/backups
      - /mnt/user/appdata/authentik/media:/media
      - /mnt/user/appdata/authentik/certs:/certs
      - /var/run/docker.sock:/var/run/docker.sock
      - /mnt/user/appdata/authentik/custom-templates:/templates
    networks:
      default:
        ipv4_address: 192.168.0.2 #enter unique IP address if you want to manually choose the ip

networks:
  default:
    external: true
    name: nameOfUnraidCustomeNetwork # this should be the custom network all your unraid containers are on
volumes:
  database:
    driver: local

from authentik.

BeryJu avatar BeryJu commented on August 28, 2024

This has been asked in the reddit comments too, I don't use unRaid and I don't plan on doing so, if someone wants to PR it, I'll accept it.

from authentik.

girlpunk avatar girlpunk commented on August 28, 2024

Given Unraid supports Docker, that would be the easiest way to run it at the moment?

from authentik.

stale avatar stale commented on August 28, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from authentik.

girlpunk avatar girlpunk commented on August 28, 2024

@rafaelmathieu That's a docker-compose file, which is already covered in the documentation here https://goauthentik.io/docs/installation/docker-compose/

from authentik.

rafaelmathieu avatar rafaelmathieu commented on August 28, 2024

@rafaelmathieu That's a docker-compose file, which is already covered in the documentation here https://goauthentik.io/docs/installation/docker-compose/

yes, but the compose file I copied is unraid specific. just incase someone wants to use it directly in portainer on unraid and doesn't want to do trial and error.

from authentik.

steRnbear87 avatar steRnbear87 commented on August 28, 2024

@rafaelmathieu That's a docker-compose file, which is already covered in the documentation here https://goauthentik.io/docs/installation/docker-compose/

yes, but the compose file I copied is unraid specific. just incase someone wants to use it directly in portainer on unraid and doesn't want to do trial and error.

I am stuck on the login page. What is the default password to akadmin? I am on unraid.

from authentik.

girlpunk avatar girlpunk commented on August 28, 2024

Hi @steRnbear87, the details for this are in the documentation, I'd suggest you have a read through before continuing your setup

https://goauthentik.io/docs/installation/docker-compose/?utm_source=github#startup

from authentik.

steRnbear87 avatar steRnbear87 commented on August 28, 2024

Hi @steRnbear87, the details for this are in the documentation, I'd suggest you have a read through before continuing your setup

https://goauthentik.io/docs/installation/docker-compose/?utm_source=github#startup

Thank you @girlpunk. I was able to log in. Just trying to figure out config. Is there any guide besides the documentation on how to get this set up with traefik? Definitely need some basic config just to get it up and running.

from authentik.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.