Browse Source

Exec supervisord

master
dave 5 years ago
parent
commit
0cf409047c
  1. 8
      nginx-default
  2. 5
      start

8
nginx-default

@ -1,15 +1,15 @@
server {
listen 80 default_server;
#listen [::]:80 default_server ipv6only=on;
root /nexus/;
index index.html index.htm;
server_name localhost;
#auth_basic "Restricted";
#auth_basic_user_file /etc/nginx/htpasswd;
location / {
autoindex on;
try_files $uri $uri/ =404;

5
start

@ -3,10 +3,7 @@
# run everything in start.d
find /start.d -type f -executable -exec {} \;
# Cleanly kill supervisor when container is stopped
trap 'kill $(jobs -p)' EXIT
chown nexus /nexus
# start services
supervisord
exec supervisord

Loading…
Cancel
Save