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

Docker Compose - user & password #27

Open
rivolity opened this issue Apr 14, 2023 · 1 comment
Open

Docker Compose - user & password #27

rivolity opened this issue Apr 14, 2023 · 1 comment

Comments

@rivolity
Copy link

rivolity commented Apr 14, 2023

Hello,
I have executed the following docker compose

---
version: '3.3'

services:
  cherry:
    image: haishanh/cherry:test
    container_name: auth_cherry
    volumes:
      - "/home/cherry:/data"
    environment:
      - JWT_SECRET=some-secret-string
      # this flag is important for remote-user feature to work
      - ENABLE_HTTP_REMOTE_USER=1
      - HTTP_REMOTE_USER_HEADER_NAME=Remote-User
    ports:
      - 8012:8000

When the docker is up, it requests a user and a password, which I can't find in your documentation.
What is the default user and password, so I can authenticate to the app.

@rivolity rivolity changed the title Docker Compose without caddy and authelia Docker Compose - user & password Apr 14, 2023
@rivolity
Copy link
Author

I've solved my probleme by using the latest image on the docker hub

---
version: '3.9'

services:
  cherry:
    image: haishanh/cherry:latest
    container_name: cherry
    volumes:
      - "/home/atay/docker/cherry:/data"
    environment:
      - JWT_SECRET="8M$QkASoNB4kLz"
      - ENABLE_PUBLIC_REGISTRATION=0
      - USE_INSECURE_COOKIE=1
    ports:
      - 8012:8000

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