docker / app

Make your Docker Compose applications reusable, and share them on Docker Hub
Apache License 2.0
1.57k stars 177 forks source link

Are Inline Files Possible? #798

Open jjorissen52 opened 4 years ago

jjorissen52 commented 4 years ago

Hello, I am wondering if it is possible to define inline files as discussed here? https://github.com/docker/compose/issues/3538

It's implied that it's possible to do so using docker app in that discussion, but I see nothing in the README for this repository, the official documentation, nor the provided examples in this repository.

decentral1se commented 4 years ago

I guess docker config solves this no?

alokpr commented 4 years ago

It is possible to specify content of a file using app parameters. But how can this file be created in the container? An external docker-config is not a good option because the app is no longer self-contained. A file-based config would work great but there is no way to specify config file contents without a file.

adams-family commented 3 years ago

+1

I would also like to use it to define small config files (such as nginx.conf) in docker-compose. A great example is here: https://github.com/docker/compose/issues/3538