TASKS-1823 WebManager module
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
import { Env } from '@adonisjs/core/env'
|
||||
|
||||
export default await Env.create(new URL('../../', import.meta.url), {
|
||||
export default await Env.create(new URL('../', import.meta.url), {
|
||||
NODE_ENV: Env.schema.enum(['development', 'production', 'test'] as const),
|
||||
PORT: Env.schema.number(),
|
||||
APP_KEY: Env.schema.string(),
|
||||
@@ -28,6 +28,14 @@ export default await Env.create(new URL('../../', import.meta.url), {
|
||||
DB_USER: Env.schema.string(),
|
||||
DB_PASSWORD: Env.schema.string.optional(),
|
||||
DB_DATABASE: Env.schema.string(),
|
||||
/*
|
||||
|----------------------------------------------------------
|
||||
| Variables for public web app cache revalidation
|
||||
|----------------------------------------------------------
|
||||
*/
|
||||
WEB_APP_URL: Env.schema.string.optional({ format: 'url', tld: false }),
|
||||
WEB_REVALIDATE_SECRET: Env.schema.string.optional(),
|
||||
|
||||
DRIVE_DISK: Env.schema.enum(['fs', 's3'] as const),
|
||||
AWS_ACCESS_KEY_ID: Env.schema.string.optional(),
|
||||
AWS_SECRET_ACCESS_KEY: Env.schema.string.optional(),
|
||||
|
||||
Reference in New Issue
Block a user