-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
70 lines (61 loc) · 2.08 KB
/
.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#####################################
# COMMON
#####################################
PROJECT=sonotheque
DOMAIN=sonotheque.localdomain
CANONICAL_URL=http://${DOMAIN}:8888
EMAIL=sonotheque-mnhn@natural-solutions.eu
#####################################
# TRAEFIK
#####################################
TRAEFIK_IMAGE=traefik:v2.10
TRAEFIK_PORT=8888
TRAEFIK_DASHBOARD_PORT=8889
#####################################
# API_DB
#####################################
#####################################
# API_DB
#####################################
DB_PASSWORD=password
DB_USER=sonotheque
DB_VENDOR=POSTGRES
DB_ADDR=db
DB_SCHEMA=public
DB_DATABASE=sonotheque
DB_IMAGE=postgis/postgis:14-3.2-alpine
DB_URL=postgres://${DB_USER}:${DB_PASSWORD}@${DB_ADDR}:5432/${DB_DATABASE}
DATABASE_URL=postgresql://${DB_USER}:${DB_PASSWORD}@${DB_ADDR}:5432/${DB_DATABASE}
POSTGRES_PASSWORD=${DB_PASSWORD}
POSTGRES_DB=${DB_DATABASE}
POSTGRES_USER=${DB_USER}
DB_SCHEMA_VERSION=1_0_0_rc3
DB_SCHEMA_DUMP_PATH=./dumps/schema_v${DB_SCHEMA_VERSION}.sql
#####################################
# REDIS
#####################################
REDIS_IMAGE=redis:7-alpine
REDIS_URL=redis://redis:6379/0
#####################################
# BACKEND
#####################################
FASTAPI_CONFIG=development
CELERY_BROKER_URL=${REDIS_URL}
CELERY_RESULT_BACKEND=${REDIS_URL}
WS_MESSAGE_QUEUE=${REDIS_URL}
API_ROOT_PATH=/
#####################################
# HASURA
#####################################
HASURA_IMAGE=registry.gitlab.com/natural-solutions/mnhn-sonotheque/mnhn-sonotheque-schema:hasura-main
HASURA_GRAPHQL_METADATA_DATABASE_URL=postgres://${DB_USER}:${DB_PASSWORD}@${DB_ADDR}:5432/${DB_DATABASE}
HASURA_GRAPHQL_DATABASE_URL=postgres://${DB_USER}:${DB_PASSWORD}@${DB_ADDR}:5432/${DB_DATABASE}
HASURA_GRAPHQL_ADMIN_SECRET=password
HASURA_GRAPHQL_JWT_SECRET='{"type":"HS256", "key": "XLK4o&iJxncT!hPdgA4#LhDqJPFH5AaKE6e6?8pg"}'
HASURA_GRAPHQL_LOG_LEVEL=error
#####################################
# JUPYTER
#####################################
JUPYTER_IMAGE=jupyter/base-notebook:latest
JUPYTER_SERVICE_PORT=8890
JUPYTER_MINIMAL_PORT=8893