feat(settle ui): ui dockerfile

master
yixian 5 years ago
parent 61bd70e283
commit 7f38aadc59

@ -10,4 +10,4 @@ RUN apk add gettext
EXPOSE 80
CMD envsubst < /opt/upstream.conf.tpl > /etc/nginx/conf.d/upstream.conf && exec nginx -g 'daemon off;'
CMD envsubst < /opt/upstream.conf.tpl > /etc/nginx/conf.d/upstream.conf && cat /etc/nginx/conf.d/upstream.conf && exec nginx -g 'daemon off;'

@ -1,12 +1,12 @@
upstream rpmanage{
server ${manage_svc};
server ${MANAGE_SVC};
}
upstream rppaycenter{
server ${paycenter_svc};
server ${PAYCENTER_SVC};
}
upstream rptrans{
server ${trans_svc};
server ${TRANS_SVC};
}
upstream rpgateway{
server ${gtway_svc};
server ${GTWAY_SVC};
}

Loading…
Cancel
Save