-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.sample
53 lines (41 loc) · 2.24 KB
/
.env.sample
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
VERSION=0.0.0
# Where the MetaAnchor's API lives
METAANCHOR_API_URL=https://api.metaanchor.io/api/v1
# Database connection URL. Must match the username/password specified on
# .db.env. It's a good practice to also change the Database name to match the
# environment.
#
# The format here should be the following:
# <username>:<password>@<host>/<database_name>_<env>?<optional_parameters>
#
# If necessary, remove the sslmode=disable when using certificates.
POSTGRESQL_PRISMA_URL=postgresql://digitalsoul:digitalsoul@db/digitalsoul?sslmode=disable
# Protocol: either http:// or https://. It it recommended that you should use
# http and use a reverse-proxy to serve the application with certificates.
PROTOCOL=http://
# Where is this instance hosted. It is advised to use a A record or CNAME for
# serving the app, most likely behind a proxy (nginx, apache, etc)
HOST="localhost"
# Where is this instance port should live. This SHOULD match the EXPOSE port on
# the container and docker-compose, and you should rebuild everything
PORT=3000
# The default text for Logging in to this locally running instance
SIGN_MESSAGE_TEXT="Welcome to DigitalSoul-API"
# A static API Token. This overrides the communication with MetaAnchor's API
# by skipping the Instance Registration phase.
METAANCHOR_API_TOKEN=
# Necessary for session handling. Changing these might require all your sessions
# to reauthenticate. Generate those randomly. For example, using openssl:
# openssl rand -base64 32
NEXTAUTH_SECRET="ridethelightning"
JWT_SECRET="masterofpuppets"
# Replace this with the URL where your instance lives
NEXTAUTH_URL="http://localhost:3000"
# Where to store NFT assets. Should be writable and most likely should be
# backupable. A good recommendation is to mount this on top of the host server
# ATTENTION!!!!! It is VERY recommended to keep everything mounted to /srv/data
# Otherwise please adapt DockerFile and docker-compose.*
STORAGE_DIR="/srv/data/nftdata"
# Only add for Local development purposes. Do *never ever !!* add for production!
# This decodes development tokens created via https://api.metaanchor.io/attestation/*
# ATTESTATION_DEV_KEY="{\"kid\":\"k4.pid.2uab3h18sgaYX1PKFW3OIMvGIfAMnuwWBJ6TuCbuwQii\",\"pubkey\":\"k4.public.f2AxH__c3AQy_abwIYAZvwzLYrLPAUNH5o6cFzPj1_0\"}"