Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Are Inline Files Possible? #798

Open
jjorissen52 opened this issue Mar 11, 2020 · 3 comments
Open

Are Inline Files Possible? #798

jjorissen52 opened this issue Mar 11, 2020 · 3 comments

Comments

@jjorissen52
Copy link

jjorissen52 commented Mar 11, 2020

Hello, I am wondering if it is possible to define inline files as discussed here? docker/compose#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
Copy link

I guess docker config solves this no?

@alokpr
Copy link

alokpr commented Jul 30, 2020

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
Copy link

+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:
docker/compose#3538

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants