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
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 7s
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user