Jenkins - docker nginx
This commit is contained in:
parent
af49f03e19
commit
d5da337d52
|
@ -7,7 +7,7 @@ def branchName = "${env.BRANCH_NAME}";
|
|||
def branchNameTest = "preprod";
|
||||
def branchNameProd = "master";
|
||||
def prefixDocker = "test";
|
||||
def dockerNginxName = ["nginx", "-p 80:8080 --link test-auth:auth --link test-salix:salix --link test-client:client"]
|
||||
def dockerNginxName = ["nginx", "-p 80:8080 --cap-add NET_ADMIN --link test-auth:auth --link test-salix:salix --link test-client:client"]
|
||||
def dockerAuthName = ["auth", "-p 3000:3000"]
|
||||
def dockerSalixName = ["salix", "-p 3001:3001"]
|
||||
def dockerClientName = ["client", "-p 3002:3002"]
|
||||
|
|
|
@ -8,4 +8,8 @@ COPY conf-prod.conf /etc/nginx/nginx.conf
|
|||
|
||||
COPY static /usr/share/nginx/html
|
||||
|
||||
RUN apt-get update && apt-get -y install vim dnsmasq
|
||||
|
||||
RUN echo listen-address=127.0.0.1 > /etc/dnsmasq.d
|
||||
|
||||
EXPOSE 8080
|
Loading…
Reference in New Issue