build: Migrate docker-compose and deploy.sh to Jannik-Cloud registry target workflow
This commit is contained in:
1 parent
9439cbb8ab
commit
f3740e7015
2 files changed
+3
-3
No files matched your search
@@ -8,9 +8,9 @@ echo "🚀 Deploying Orfel Viz..."
|
|||||||
|
|
||||||
# Check if Docker is available
|
# Check if Docker is available
|
||||||
if command -v docker &> /dev/null && command -v docker compose &> /dev/null; then
|
if command -v docker &> /dev/null && command -v docker compose &> /dev/null; then
|
||||||
echo "🐳 Docker detected. Building and starting container..."
|
echo "🐳 Docker detected. Pulling and starting container..."
|
||||||
docker compose down || true
|
docker compose down || true
|
||||||
docker compose build --no-cache
|
docker compose pull
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
echo "✅ Orfel Viz is running in Docker on port 3000!"
|
echo "✅ Orfel Viz is running in Docker on port 3000!"
|
||||||
echo "👉 Open http://localhost:3000 or http://<your-server-ip>:3000"
|
echo "👉 Open http://localhost:3000 or http://<your-server-ip>:3000"
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
viz:
|
viz:
|
||||||
build: .
|
image: git.orfel.de/jannik/viz:latest
|
||||||
container_name: orfel-viz
|
container_name: orfel-viz
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in new issue
Block a user