feat: cleanup docker setup
- Add .dockerignore - Replace .env with .env.example - Add migrations service - Cleanup Dockerfile: simpler setup, simpler copy, no migrations inside the image - Update README to match new instruction
This commit is contained in:
parent
c92b169435
commit
1d4251c23e
6 changed files with 90 additions and 46 deletions
11
.env.example
Normal file
11
.env.example
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Environment variables declared in this file are automatically made available to Prisma.
|
||||
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
|
||||
|
||||
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
|
||||
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
|
||||
|
||||
# Enable to use different location for dev db file
|
||||
# DATABASE_URL="file:./dev.db"
|
||||
|
||||
# Add your admin Nostr npub
|
||||
# ADMIN_NPUBS=npub1q2s369...
|
||||
Loading…
Add table
Add a link
Reference in a new issue