Compare commits
2 Commits
8b1ed1b8b9
...
216f438b0a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
216f438b0a | ||
|
|
9b40210b36 |
@@ -16,8 +16,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
DOCKER_BUILDKIT: 1
|
DOCKER_BUILDKIT: 1
|
||||||
COMPOSE_DOCKER_CLI_BUILD: 1
|
COMPOSE_DOCKER_CLI_BUILD: 1
|
||||||
DATABASE_URL: ${DATABASE_URL}
|
NEXTAUTH_URL: ${{ vars.NEXTAUTH_URL }}
|
||||||
NEXTAUTH_URL: ${NEXTAUTH_URL}
|
NEXTAUTH_SECRET: ${{ secrets.NEXTAUTH_SECRET }}
|
||||||
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
|
PRISMA_DATA_PATH: ${{ vars.PRISMA_DATA_PATH }}
|
||||||
run: |
|
run: |
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ services:
|
|||||||
- NEXTAUTH_URL=http://localhost:3000
|
- NEXTAUTH_URL=http://localhost:3000
|
||||||
- NEXTAUTH_SECRET=${NEXTAUTH_SECRET:-change-this-secret-in-production}
|
- NEXTAUTH_SECRET=${NEXTAUTH_SECRET:-change-this-secret-in-production}
|
||||||
volumes:
|
volumes:
|
||||||
# Persist database
|
# Persist database (override DATA_PATH env var to change location)
|
||||||
- /Volumes/EXTERNAL_USB/sites/got-gaming/data:/app/data
|
- ${PRISMA_DATA_PATH:-/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:
|
||||||
|
|||||||
Reference in New Issue
Block a user