mirror of
https://github.com/jonasrosland/gitmirror.git
synced 2025-05-10 20:05:33 +02:00
First commit
Signed-off-by: Jonas Rosland <jonas.rosland@gmail.com>
This commit is contained in:
parent
c7c3a91f62
commit
06a77bb5e6
65 changed files with 8470 additions and 0 deletions
20
test-docker.sh
Executable file
20
test-docker.sh
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
echo "Stopping any running containers..."
|
||||
docker-compose down
|
||||
|
||||
echo "Building Docker image with latest changes..."
|
||||
docker-compose build
|
||||
|
||||
echo "Starting web container..."
|
||||
docker-compose up -d web
|
||||
|
||||
echo "Container is now running!"
|
||||
echo "Access the web UI at http://localhost:5000"
|
||||
echo ""
|
||||
echo "To view logs:"
|
||||
echo "docker-compose logs -f web"
|
||||
echo ""
|
||||
echo "To stop the container:"
|
||||
echo "docker-compose down"
|
Loading…
Add table
Add a link
Reference in a new issue