mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-29 13:57:33 +02:00
Move nginx to photon OS
This commit is contained in:
parent
b79b80c6ee
commit
fc50fd51d5
11
make/common/nginx/Dockerfile
Normal file
11
make/common/nginx/Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM library/photon:1.0
|
||||
|
||||
RUN tdnf install -y nginx \
|
||||
&& ln -sf /dev/stdout /var/log/nginx/access.log \
|
||||
&& ln -sf /dev/stderr /var/log/nginx/error.log \
|
||||
&& mkdir -p /var/run
|
||||
|
||||
EXPOSE 80
|
||||
STOPSIGNAL SIGQUIT
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
@ -109,7 +109,7 @@ services:
|
||||
syslog-address: "tcp://127.0.0.1:1514"
|
||||
tag: "jobservice"
|
||||
proxy:
|
||||
image: vmware/nginx:1.11.5-patched
|
||||
image: vmware/nginx-photon:1.11.13
|
||||
container_name: nginx
|
||||
restart: always
|
||||
volumes:
|
||||
|
Loading…
Reference in New Issue
Block a user