Skip to content

Allow starting releem agent with non-root user #491

@major-mayer

Description

@major-mayer

I created a docker compose configuration like this:

  releem-agent:
    depends_on:
      - db
    image: releem/releem-agent
    container_name: releem-agent
    user: 2004:2004
    environment:
     ...
    restart: unless-stopped
    volumes:
      - /tmp/.mysqlconfigurer/:/tmp/.mysqlconfigurer/

Now when i start the container, the following error message appears in the logs

releem-agent | /docker/entrypoint.sh: line 4: /opt/releem/releem.conf: Permission denied
releem-agent exited with code 1

Would it be possible to change the startup logic so that the root user is not required anymore?

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