592ed499d7
Should address #6. The port selection now works as follows: * If there is only 1 port exposed by the container, that port is used. * If there is a VIRTUAL_PORT env variable defined, that port is used. * Otherwise, default to port 80, if exposed.
11 lines
235 B
Text
11 lines
235 B
Text
[supervisord]
|
|
nodaemon=true
|
|
|
|
[program:nginx]
|
|
command=nginx
|
|
directory=/etc/nginx
|
|
|
|
[program:docker-gen]
|
|
command=./docker-gen -watch -only-exposed -notify "nginx -s reload" /app/nginx.tmpl /etc/nginx/sites-enabled/default
|
|
directory=/app
|
|
|