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:
# push:
# branches:
# - main # adapte la branche que tu veux déployer
on:
push:
branches:
- main # adapte la branche que tu veux déployer
# jobs:
# deploy:
# runs-on: mac-orbstack-runner # le nom que tu as donné au runner
# steps:
# - name: Checkout
# uses: actions/checkout@v4
jobs:
deploy:
runs-on: mac-orbstack-runner # le nom que tu as donné au runner
steps:
- name: Checkout
uses: actions/checkout@v4
# - name: Deploy stack
# run: |
# docker compose up -d
- name: Deploy stack
run: |
docker compose up -d

View File

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