Repository navigation
Expand file tree
/
Copy path.main.env
More file actions
44 lines (30 loc) · 1.97 KB
/
Copy path.main.env
File metadata and controls
44 lines (30 loc) · 1.97 KB
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
# 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
# 27017 is the mongodb standard port
# DATABASE_URL="mongodb+srv://root:example@zooprocess.imev-mer.fr/zooProcess"
# DATABASE_URL="mongodb+srv://root:example@localhost/zooProcess"
# DATABASE_URL="mongodb+srv://root:example@127.0.0.1/zooProcess"
# DATABASE_URL="mongodb://root:example@127.0.0.1/zooProcess"
# run but no replica
# MONGO_ROOT_USER="root"
# MONGO_ROOT_PASSWORD="zooprocess"
# MONGO_HOST="zooprocess.localhost.imev-mer.fr"
# DATABASE_URL="mongodb://root:example@zooprocess.imev-mer.fr/zooProcess?authSource=admin"
# DATABASE_URL="mongodb://root:zooprocess@zooprocess.localhost.imev-mer.fr/zooProcess?authSource=admin"
# line below works when I run app on localhost
# DATABASE_URL="mongodb://root:example@localhost/zooProcess?authSource=admin"
# DATABASE_URL="mongodb://admin:docker1234@mongodb:27017/zooProcess?authSource=admin"
DATABASE_URL="mongodb://admin:docker1234@localhost:27017/zooProcess?authSource=admin"
# DATABASE_URL="mongodb://root:example@mongo/zooProcess?authSource=admin"
# DATABASE_URL="mongodb://${MONGO_ROOT_USER}:${MONGO_ROOT_PASSWORD}@${MONGO_HOST}/zooProcess?authSource=admin"
# zooprocess.localhost.imev-mer.fr configured in /etc/hosts
#replicaSet={disable,prefer,require}
# DATABASE_URL="mongodb://root:example@zooprocess.imev-mer.fr/zooProcess?authSource=admin&replicaSet=disable"
# docker-compose-rs
# DATABASE_URL="mongodb://root:example@zooprocess.imev-mer.fr:30001/zooProcess?authSource=admin"
# DATABASE_URL="mongodb://root:example@zooprocess.imev-mer.fr:30001/zooProcess"
JWT_SECRET='secret'
DRIVES_PATH="Drives"
ROOT_PATH=""