-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
34 lines (27 loc) · 1015 Bytes
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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
# Application
TYPE="webserver" # 'webserver' or 'worker'
# Base
DATABASE_URL="mysql://root:hoplin1234!@localhost:3306/judge?schema=public"
ADMIN_EMAIL="hoplin.dev@gmail.com"
ADMIN_PW = "admin"
JWT_SECRET="SECRET"
JUDGE_SERVER_ENDPOINT=""
JUDGE_AUTH_KEY=""
ENV="a" # dev or production
PORT="3000"
# Queue
QUEUE_TYPE="RMQ" # SQS or RMQ. Change if you use SQS for application
RMQ_URL="amqp://root:password@localhost:5672"
RMQ_WORKER_QUEUE_NAME="JUDGE_QUEUE"
# AWS
AWS_REGION="a"
AWS_ACCESS_ID="a"
AWS_ACCESS_SECRET="a"
AWS_SQS_QUEUE="a"
AWS_S3_BUCKET="a"
# Sentry
SENTRY_DSN="a"