Replies: 8 comments
-
|
One way is to put that in a local Dockerfile next to your docker-compose.yml and use |
Beta Was this translation helpful? Give feedback.
-
|
I see, i don't really want to mess about with own dockerfiles... So how would I add my custom config file? As a volume? |
Beta Was this translation helpful? Give feedback.
-
|
Hmm yeah that i think should work too... actually there is a example for doing that in README.md |
Beta Was this translation helpful? Give feedback.
-
|
I know, but that involves a dockerfile as well. I just want to keep it the simplest, compose only. |
Beta Was this translation helpful? Give feedback.
-
|
Sorry i was referring to the example in READMe.md for using a volume for custom config docker run -d -p 80:80 -p 443:443 -v /path/to/my_proxy.conf:/etc/nginx/conf.d/my_proxy.conf:ro -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxyFor compose that should just be a |
Beta Was this translation helpful? Give feedback.
-
|
Right, added my .conf as a volume, it works but then I get this error:
if i delete the daemon it goes to the user and so on.... |
Beta Was this translation helpful? Give feedback.
-
|
Hmm how does So if there is a |
Beta Was this translation helpful? Give feedback.
-
|
Hey, Thanks |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am a bit unsure on how to implement this:
In my compose file? I don't necesserly need a full custom config file, only the
client_max_body_sizepartBeta Was this translation helpful? Give feedback.
All reactions