Rebrand project from web4beginners to ikfreunde
This commit is contained in:
@@ -16,7 +16,7 @@ if [[ ! "$NAME" =~ ^[a-zA-Z0-9][a-zA-Z0-9_-]*$ ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ROOT_BASE="${ROOT_BASE:-/srv/web4beginners}"
|
||||
ROOT_BASE="${ROOT_BASE:-/srv/ikfreunde}"
|
||||
COMPOSE_FILE="${COMPOSE_FILE:-docker-compose.traefik-routes.yml}"
|
||||
ROOT="${ROOT_BASE}/${NAME}"
|
||||
|
||||
@@ -27,9 +27,9 @@ fi
|
||||
|
||||
mkdir -p "$ROOT"
|
||||
|
||||
if [[ ! -f "$ROOT/web4beginners.com.html" ]]; then
|
||||
cp web4beginners.com.html "$ROOT/web4beginners.com.html"
|
||||
echo "Created: $ROOT/web4beginners.com.html"
|
||||
if [[ ! -f "$ROOT/ikfreunde.com.html" ]]; then
|
||||
cp ikfreunde.com.html "$ROOT/ikfreunde.com.html"
|
||||
echo "Created: $ROOT/ikfreunde.com.html"
|
||||
fi
|
||||
|
||||
if [[ ! -f "$ROOT/site-content.de.json" ]]; then
|
||||
@@ -49,9 +49,9 @@ else
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: web4beginners-${NAME}
|
||||
container_name: ikfreunde-${NAME}
|
||||
volumes:
|
||||
- ${ROOT}/web4beginners.com.html:/app/web4beginners.com.html
|
||||
- ${ROOT}/ikfreunde.com.html:/app/ikfreunde.com.html
|
||||
- ${ROOT}/site-content.de.json:/app/content/site-content.de.json
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user