Questions tagged [docker-gen]

6 questions
2
votes
1 answer

Run docker container with volume argument in AWS ECS as Task definition or Service

I am using nginx-proxy docker image to proxying my other web application. I can run this image using docker run -d -p 80:80 -e ENABLE_IPV6=true -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy command. Here -v option is mandatory if…
Nitin
  • 2,701
  • 2
  • 30
  • 60
1
vote
1 answer

Pointing multiple domains to one virtual host with nginx and jwilder/docker-gen

I am new to using nginx and am unsure as to what solution I should tackle this problem with. I would like to have multiple domains pointing to one single virtual host in nginx. So, for example: the domains example.one.com and example.two.com would…
wappa
  • 149
  • 1
  • 12
1
vote
0 answers

nginx-proxy docker container crashes with exit code 2

Introduction Hello folks! It is great to have helpful and skillful members like you. I am stuck after reproducing the step-by-step instructions from various blogs to create a whole suite of Docker-powered apps from a small hosted VPS. Mainly to…
1
vote
1 answer

can't create file from nginx to docker-gen

I'm using jwilder/nginx-proxy in order to have a project in my domain.tld and one in api.domain.tld. I followed this tutorial and I'm facing a problem with my custom default.conf. First I'm running the image from my project docker container run -d…
Vasileios Pallas
  • 4,801
  • 4
  • 33
  • 50
0
votes
0 answers

Use environments variables with nginxproxy/docker-gen

I would like to enable mirror for specific containers from docker-compose. On the docker-gen template I have the follow: {{ $mirror := or (first (groupByKeys $containers "Env.MIRROR")) (or $.Env.MIRROR "enable") (or $.Env.MIRROR "disable") }} …
metRo_
  • 445
  • 1
  • 7
  • 18
0
votes
0 answers

docker port mapping using docker-gen and letsencrypt-companion

i have several flask applications which i want to run on a server as separate docker containers. on the server i already have several websites running with a reverse proxy and the letsencrypt-nginx-proxy-companion. unfortunately i can't get the…
user3200569