Update Docker configuration and deployment workflow: Change volume path in docker-compose.yml to use an external USB drive for data persistence. Adjust deploy.yml to uncomment deployment triggers for clarity and streamline the deployment process.
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 7s

This commit is contained in:
Julien Froidefond
2025-12-11 07:53:57 +01:00
parent 93c6624aec
commit 23ca6345de
2 changed files with 15 additions and 15 deletions

View File

@@ -1,17 +1,17 @@
# name: Deploy with Docker Compose name: Deploy with Docker Compose
# on: on:
# push: push:
# branches: branches:
# - main # adapte la branche que tu veux déployer - main # adapte la branche que tu veux déployer
# jobs: jobs:
# deploy: deploy:
# runs-on: mac-orbstack-runner # le nom que tu as donné au runner runs-on: mac-orbstack-runner # le nom que tu as donné au runner
# steps: steps:
# - name: Checkout - name: Checkout
# uses: actions/checkout@v4 uses: actions/checkout@v4
# - name: Deploy stack - name: Deploy stack
# run: | run: |
# docker compose up -d docker compose up -d

View File

@@ -15,7 +15,7 @@ services:
- NEXTAUTH_SECRET=${NEXTAUTH_SECRET:-change-this-secret-in-production} - NEXTAUTH_SECRET=${NEXTAUTH_SECRET:-change-this-secret-in-production}
volumes: volumes:
# Persist database # Persist database
- ./data:/app/data - /Volumes/EXTERNAL_USB/sites/got-gaming/data:/app/data
- ./prisma/migrations:/app/prisma/migrations - ./prisma/migrations:/app/prisma/migrations
restart: unless-stopped restart: unless-stopped
healthcheck: healthcheck: