harbor/docker-compose.yml aktualisiert
This commit is contained in:
@@ -10,9 +10,12 @@ services:
|
|||||||
entrypoint: ["/bin/sh", "-c"]
|
entrypoint: ["/bin/sh", "-c"]
|
||||||
command: |
|
command: |
|
||||||
set -e
|
set -e
|
||||||
mkdir -p ${HARBOR_DATA_PATH:-/data/harbor}/config
|
|
||||||
|
|
||||||
cat <<EOF > /config/harbor.yml
|
# Zielverzeichnis für Harbor-Konfiguration
|
||||||
|
mkdir -p /etc/harbor
|
||||||
|
|
||||||
|
# harbor.yml erzeugen
|
||||||
|
cat <<EOF > /etc/harbor/harbor.yml
|
||||||
hostname: ${HARBOR_HOSTNAME:-harbor.local}
|
hostname: ${HARBOR_HOSTNAME:-harbor.local}
|
||||||
|
|
||||||
http:
|
http:
|
||||||
@@ -26,11 +29,12 @@ services:
|
|||||||
level: ${HARBOR_LOG_LEVEL:-info}
|
level: ${HARBOR_LOG_LEVEL:-info}
|
||||||
EOF
|
EOF
|
||||||
volumes:
|
volumes:
|
||||||
- "${HARBOR_DATA_PATH:-/data/harbor}/config:/config"
|
- "${HARBOR_DATA_PATH:-/data/harbor}/config:/etc/harbor"
|
||||||
restart: "no"
|
restart: "no"
|
||||||
networks:
|
networks:
|
||||||
- harbor
|
- harbor
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------
|
# ---------------------------------------------------------
|
||||||
# 2. Harbor Services
|
# 2. Harbor Services
|
||||||
# ---------------------------------------------------------
|
# ---------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user