mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 02:35:17 +01:00
1b6b47f860
* 127.0.0.1 to localhost * listening net addr add ipv6 format Signed-off-by: DQ <dengq@vmware.com>
14 lines
310 B
Docker
14 lines
310 B
Docker
ARG harbor_base_image_version
|
|
ARG harbor_base_namespace
|
|
FROM ${harbor_base_namespace}/harbor-nginx-base:${harbor_base_image_version}
|
|
|
|
VOLUME /var/cache/nginx /var/log/nginx /run
|
|
|
|
STOPSIGNAL SIGQUIT
|
|
|
|
HEALTHCHECK CMD curl --fail -s http://localhost:8080 || exit 1
|
|
|
|
USER nginx
|
|
|
|
CMD ["nginx", "-g", "daemon off;"]
|