Pao Dayag

Results 37 comments of Pao Dayag

Another example is one of my private repo: Passing environment variables to the `command`, in docker-compose ![image](https://github.com/IceWhaleTech/CasaOS/assets/6792172/c62accbb-7347-4a89-a009-c0733d545645)

Docker also allows us to even make the image tag/version configurable as seen in [this](https://docs.docker.com/compose/environment-variables/set-environment-variables/#substitute-from-the-shell) example in their documentation. It would be even great if CasaOS will allow casaos app...

Actually they can, We (the one who made the docker-compose file), will just include an [`env_file` ](https://docs.docker.com/compose/environment-variables/set-environment-variables/#use-the-env_file-attribute) attribute into our docker-compose.yaml together with an `.env` as a fallback. so running...

Few variable I have in mind that would be really useful is: `$WEBUI_PORT` A special variable that passes an available port to the compose file. so that we can avoid...

As much as I would love to work on this one, I practically have zero experience in Golang. :/ That's why what I can only do is suggest. 😅 I...

@CorrectRoadH what docker image are you trying tocrun? can you post your whole `docker-compose.yanl` here also the contents of your config.env? I already linked the docker documentation above regarding using...

You forgot to add the `env_file` attribute in your docker-compose.yaml file.

![image](https://github.com/IceWhaleTech/CasaOS/assets/6792172/3da9602b-23e0-43b7-a617-f39e6bac2bef)

try using the default env file name. Rename it into: `.env` instead of `config.env`

No problem. ☺️