Skip to content

[Enhancement] Support Environment-Variable Configured Administrator Account Credentials #1858

Description

@engineerjoe440

Hi there! LOVE this project! Nice and simple little application that is super helpful and provides a great API for additional development.

Request

  • Add ability to configure the administrator user account with an environment variable to support CI-based deployment with a system like Jenkins.

Background

I'm working with youth, developing an open-source photo upload application for youth conferences and events organized by 4-H. The app serves as a simple frontend to support automatic uploads to Lychee into albums as specified by the uploader.

The workflow basically constitutes a youth-delegate taking a picture, navigating to the photo upload site, and selecting whether they're participating in a "district competition," "scavenger hunt," or just want to upload a general picture. From there, they select the pictures they wish to upload, press submit, and let the app do the rest.

The app uploads those photos to the "correct" album according to the youth's selections. It's a niche application, but it's super useful!

In my development, and work with this system, I'd like to be able to provide a docker-compose.yml example that would set up the full application and Lychee backend with a valid admin-account to manage the interactions (ideally, a non-admin user, too, but that's a different story). Additionally, this would allow me to put together a more cohesive automated test framework.

Is it possible to configure the user account from a set of environment variables, or some other "scriptable" interface?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions