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