Initial release
This commit is contained in:
commit
721217a8e3
130 files changed
+7099
No files matched your search
@@ -0,0 +1,22 @@
|
||||
# Compose environment variables
|
||||
DOMAIN=localhost
|
||||
STACK_NAME=url-shortener
|
||||
|
||||
# Feature toggles
|
||||
SIGNUP_ENABLED=true
|
||||
|
||||
# Frontend environment variables
|
||||
VITE_DOMAIN=http://${DOMAIN}
|
||||
VITE_API_BASE_URL=http://${DOMAIN}/api
|
||||
VITE_SIGNUP_ENABLED=${SIGNUP_ENABLED}
|
||||
|
||||
# Backend environment variables
|
||||
PORT=3000
|
||||
DATABASE_URL=file:/app/prisma/local.db
|
||||
JWT_SECRET=your_jwt_secret # openssl rand -base64 32
|
||||
CORS_ORIGIN=http://short.${DOMAIN}
|
||||
|
||||
# Prisma studio
|
||||
PRISMA_USERNAME=admin
|
||||
# bcrypt hash for "adminpassword" (echo $(htpasswd -nB user) | sed -e s/\\$/\\$\\$/g)
|
||||
PRISMA_PASSWORD=$$2y$$05$$YW.WZVlOrHM70Ra2JeuvJOTJeEVQcCZhrSatbOAATei2h1OVGZn3i
|
||||
Reference in new issue
Block a user