chore: update docker-compose.yml to use dynamic data volume path and modify deploy workflow to reference environment variables
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 9s

This commit is contained in:
Julien Froidefond
2025-12-11 11:18:15 +01:00
parent 8a3966e6a9
commit 27995e7e7f
2 changed files with 2 additions and 3 deletions

View File

@@ -17,7 +17,6 @@ jobs:
DOCKER_BUILDKIT: 1 DOCKER_BUILDKIT: 1
COMPOSE_DOCKER_CLI_BUILD: 1 COMPOSE_DOCKER_CLI_BUILD: 1
AUTH_SECRET: ${{ secrets.AUTH_SECRET }} AUTH_SECRET: ${{ secrets.AUTH_SECRET }}
AUTH_URL: ${{ secrets.AUTH_URL }} AUTH_URL: ${{ vars.AUTH_URL }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}
run: | run: |
docker compose up -d docker compose up -d

View File

@@ -12,7 +12,7 @@ services:
- AUTH_TRUST_HOST=true - AUTH_TRUST_HOST=true
- AUTH_URL=${AUTH_URL:-https://workshop-manager.julienfroidefond.com} - AUTH_URL=${AUTH_URL:-https://workshop-manager.julienfroidefond.com}
volumes: volumes:
- /Volumes/EXTERNAL_USB/sites/workshop-manager/data:/app/data - ${DATA_VOLUME_PATH:-./data}:/app/data
restart: unless-stopped restart: unless-stopped
labels: labels:
- 'com.centurylinklabs.watchtower.enable=false' - 'com.centurylinklabs.watchtower.enable=false'