Prepare Laravel API for Railway
This commit is contained in:
12
.env.example
12
.env.example
@@ -9,6 +9,7 @@ LOG_DEPRECATIONS_CHANNEL=null
|
||||
LOG_LEVEL=debug
|
||||
|
||||
DB_CONNECTION=sqlite
|
||||
DATABASE_URL=
|
||||
|
||||
BROADCAST_DRIVER=log
|
||||
CACHE_DRIVER=file
|
||||
@@ -57,3 +58,14 @@ JWT_ISSUER=
|
||||
JWT_AUDIENCE=
|
||||
JWT_PUBLIC_KEY_PEM=
|
||||
JWT_TOKEN=
|
||||
|
||||
# Railway production example:
|
||||
# APP_ENV=production
|
||||
# APP_DEBUG=false
|
||||
# APP_URL=https://your-service.up.railway.app
|
||||
# LOG_CHANNEL=stderr
|
||||
# DB_CONNECTION=pgsql
|
||||
# DATABASE_URL=${{Postgres.DATABASE_URL}}
|
||||
# CACHE_DRIVER=file
|
||||
# SESSION_DRIVER=file
|
||||
# QUEUE_CONNECTION=sync
|
||||
|
||||
Reference in New Issue
Block a user