Skip to content

.env file creation enforced each time after restart of Docker stack #24

@jeli0001

Description

@jeli0001

We have currently deployed a REGMon Docker stack running on localhost:8000. The installation runs fine except for the fact that each time the stack is restarted with docker compose -f "docker-compose-prod.yml" up -d, we are first redirected to the ".env file is missing" Configuration page where we are asked to generate and save an .env file.
Is there any way to make the .env settings permanent so that they survive a restart of the stack?
We have already tried to put an .env file (simple copy of the .env.sample file which ships with the installation files) into the Docker root directory and reference it in the docker compose file, but the problem remains the same: When trying to access the REGmon URL after restarting the stack, we are redirected to the ".env file is missing" page.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions