more updates

This commit is contained in:
Matt 2025-04-25 01:49:20 +02:00
parent fce618589f
commit 633032ee32
3 changed files with 5 additions and 17 deletions

View File

@ -18,7 +18,7 @@ docker-compose up -d
```
This will:
- Pull the calculator image from Gitea registry
- Build the calculator image from the local Dockerfile
- Start the container
- Make the calculator available at http://localhost:8080
@ -46,7 +46,7 @@ version: '3.8'
services:
puffin-calculator:
image: code.letsbe.solutions/matt/puffinoffsetcalculator:latest
build: .
container_name: puffin-calculator
ports:
- "8080:80"

View File

@ -2,7 +2,7 @@ version: '3.8'
services:
puffin-calculator:
image: code.letsbe.solutions/matt/puffinoffsetcalculator:latest
build: .
container_name: puffin-calculator
ports:
- "8080:80"

View File

@ -25,20 +25,8 @@ if ! command -v docker-compose &> /dev/null; then
exit 1
fi
echo "Logging into Gitea container registry..."
echo "Please enter your Gitea credentials when prompted:"
docker login code.letsbe.solutions
if [ $? -ne 0 ]; then
echo "========================================"
echo "Error: Failed to log in to the Gitea registry."
echo "Please check your credentials and try again."
echo "========================================"
exit 1
fi
echo "Pulling and starting the Docker container..."
docker-compose up -d
echo "Building and starting the Docker container..."
docker-compose up -d --build
if [ $? -eq 0 ]; then
echo "========================================"