Fix: Docker-Befehle korrigiert, direktes docker run
Build and Deploy Fitness App / build-and-deploy (push) Failing after 15s
Build and Deploy Fitness App / build-and-deploy (push) Failing after 15s
This commit is contained in:
@@ -25,6 +25,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Restart Application
|
- name: Restart Application
|
||||||
run: |
|
run: |
|
||||||
cd /opt/fitness
|
cd /opt/fitness || mkdir -p /opt/fitness
|
||||||
docker compose down
|
docker stop fitness-web fitness-api 2>/dev/null || true
|
||||||
docker compose up -d
|
docker run -d --name fitness-api --network fitness_proxy-net -v fitness-data:/app/data fitness-api:latest
|
||||||
|
docker run -d --name fitness-web --network fitness_proxy-net -e VIRTUAL_HOST=robre.de,www.robre.de -e LETSENCRYPT_HOST=robre.de,www.robre.de -e VIRTUAL_PORT=80 fitness-web:latest
|
||||||
Reference in New Issue
Block a user