#1903·CasaOS

Need a way to specify or upload .env files for use with docker-compose files

Author: LowSpecEverythingCreated Jul 13, 2024Updated Sep 6, 2026

Is your feature request related to a problem? Please describe. So, I tried to install Immich on CasaOS using the instructions for Docker Compose: https://immich.app/docs/install/docker-compose The instructions specify to download the files docker-compose.yml and example.env for use with Docker Compose: https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml https://github.com/immich-app/immich/releases/latest/download/example.env So I imported the docker-compose.yml file to the Import option in the Custom Install section of the App Store: image And I specified the neccesary options (web UI port, title) and clicked Install, but then I got this error: "Failed to load /tmp/casaos-compose-app-3269446966/.env: open /tmp/casaos-compose-app-3269446966/.env: no such file or directory"

The problem was, there is no way to specify a .env file to use, only individual environment variables. image Note how there is no way to upload a .env file

Also note that manually editing the docker-compose.yml file to specify a .env file in the local stoage works.

Describe the solution you'd like I would like to have the option to upload a .env file of my own for use with the docker-compose.yml file, maybe like this: image (Made by editing the page source)

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. The alternative of manually editing the docker-compose.yml file will work. However, it is tedious.

Additional context Add any other context or screenshots about the feature request here.