Update 34 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 9s
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 9s
This commit is contained in:
@@ -30,13 +30,13 @@ export CONTAINER_NAME DATA_PATH HTTP_PORT PUID PGID TZ IMAGE_TAG DB_NAME DB_USER
|
||||
cd "$SCRIPT_DIR" || _die "Failed to change to script directory"
|
||||
|
||||
# Pull images
|
||||
docker compose pull || _die "Failed to pull images"
|
||||
docker compose -p "${CONTAINER_NAME}" pull || _die "Failed to pull images"
|
||||
|
||||
# Stop existing containers
|
||||
docker compose down 2>/dev/null || true
|
||||
docker compose -p "${CONTAINER_NAME}" down 2>/dev/null || true
|
||||
|
||||
# Start containers (--build ensures fresh state)
|
||||
docker compose up -d --build || _die "Failed to start containers"
|
||||
docker compose -p "${CONTAINER_NAME}" up -d --build || _die "Failed to start containers"
|
||||
|
||||
echo "Installation of ${CONTAINER_NAME} complete"
|
||||
echo "Access Wiki.js at http://localhost:${HTTP_PORT}"
|
||||
|
||||
Reference in New Issue
Block a user