https://github.com/lldap/lldap logo
TheMaster - so i have a question, i asked it on...
# troubleshooting
t
so i have a question, i asked it on general, but i thought maybe i should change it to here. so i am trying to expose lldap web port throw traefik. i try to expose other services and it work, so clearly it is me is the problem and maybe the way i am installing lldap this is my docker compose lines :
Copy code
yaml
lldap:
    image: lldap/lldap:stable
    container_name: lldap
    ports:
      # For LDAP, not recommended to expose, see Usage section.
      - "3890:3890"
      # For LDAPS (LDAP Over SSL), enable port if LLDAP_LDAPS_OPTIONS__ENABLED set true, look env below
      #- "6360:6360"
      # For the web front-end
      - "17170:17170"
    volumes:
      # - "lldap_data:/data"
      # Alternatively, you can mount a local folder
      - "../data/lldap:/data"
    environment:
      - UID=####
      - GID=####
      - TZ=####
      - LLDAP_JWT_SECRET=REPLACE_WITH_RANDOM
      - LLDAP_KEY_SEED=REPLACE_WITH_RANDOM
      - LLDAP_LDAP_BASE_DN=dc=example,dc=com
      # If using LDAPS, set enabled true and configure cert and key path
      # - LLDAP_LDAPS_OPTIONS__ENABLED=true
      # - LLDAP_LDAPS_OPTIONS__CERT_FILE=/path/to/certfile.crt
      # - LLDAP_LDAPS_OPTIONS__KEY_FILE=/path/to/keyfile.key
      # You can also set a different database:
      # - LLDAP_DATABASE_URL=mysql://mysql-user:password@mysql-server/my-database
      # - LLDAP_DATABASE_URL=postgres://postgres-user:password@postgres-server/my-database
    labels:
      - 'traefik.enable=true'
      - 'traefik.http.routers.lldap.rule=Host(`lldap.${MY_DOMAIN}`)'
      - 'traefik.http.routers.lldap.entryPoints=websecure'
so, is something wrong with my commands ? when i try to access the web ui i got 404 error
a
message has been deleted
t
and thanks for any help , i really apreatiate it
n
You probably want
routers.lldap.tls = true
And you need the
loadbalancer
section as well, server port and scheme (http)
t
i just discover something, lldap container doesn't want to start , it start then exit the next second 🙃
so yeay, it seams i am setting up in a wrong way or something
more invistegation
i did that now so i am ready when the container run finally
I am still don't know why I cant start the lldap container, I am sure I did everything correctly as the official guide from GitHub
n
Logs?
t
Copy code
> Setup permissions..
find: unknown user ####
> Setup permissions..
find: unknown user ####
> Setup permissions..
find: unknown user ####
find: unknown user ####
> Setup permissions..
> Setup permissions..
find: unknown user ####
> Setup permissions..
find: unknown user ####
find: unknown user ####
> Setup permissions..
find: unknown user ####
> Setup permissions..
i was just about to search how to trubleshoot correctly
i just got it
n
😄
t
i am really stupid and embarresd now
the userid aaaaaaaa
sorry that i take from your time because of my stupidity and thanks a lot for your patience
n
It happens to the best of us 🙂
t
and yes, now it show the web ui as it supposed to
thanks alot again @nitnelave