-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.alpha
executable file
·106 lines (93 loc) · 5.26 KB
/
.env.alpha
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
PROJECT_NAME="graphowls"
ENVIRONMENT="development"
REACT_APP_BASE_URL="http://localhost:48997"
BACKEND_LOG_LEVEL="info" # Options: critical, error, warning, debug, trace
DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4"
##########################################
# Error reporting! (TODO: Wait for sentry to finish implementing their fixes for Python 3.11.4 then reimplement me...)
# Remove if you don't want application errors
# reported to the project maintainers :(
##########################################
SENTRY_DSN="https://[email protected]/4505363615711232"
##########################################
# Image configuration
##########################################
SOLR_IMAGE="solr:9.3.0-slim"
JANUS_IMAGE="janusgraph/janusgraph:1.0.0-rc2"
POSTGRES_IMAGE="postgres:15.4"
S3_IMAGE="minio/minio:RELEASE.2023-10-16T04-13-43Z"
CLEARLY_IMAGE="rsalmei/clearly:latest"
SCYLLA_IMAGE="scylladb/scylla:5.1"
REDIS_IMAGE="redis:alpine3.18"
NGINX_IMAGE="nginx:1.25.0-alpine"
NODE_IMAGE="node:18-alpine" # used as build for nginx
BACKEND_IMAGE="python:3.11.4-slim-bullseye"
##########################################
# Port configuration
##########################################
FRONTEND_PORT=3000 # if changed, update BACKEND_CORS_ORIGINS
BACKEND_PORT=48997 # if changed, update REACT_APP_BASE_URL port
REDIS_PORT=63379
FLOWER_PORT=5555
POSTGRES_PORT=55432
CLEARLY_PORT=12223
SDB_REST_PORT=10000
CQL_PORT=9042
THRIFT_PORT=9160
INTERNODE_PORT=7000
INTERNODE_ONE_PORT=7001
JMX_PORT=7199
SOLR_PORT=8983
##########################################
# S3/minio configuration (todo: add option for seaweedfs for a prod version eventually)
##########################################
MINIO_ROOT_USER="minio"
MINIO_ROOT_PASSWORD="minio"
##########################################
# PostgreSQL configuration
##########################################
POSTGRES_SERVER="db"
POSTGRES_USER="postgres"
POSTGRES_PASSWORD="password"
POSTGRES_DB="app"
PGDATA="/var/lib/postgresql/data/pgdata"
DB_POOL_SIZE=100
WEB_CONCURRENCY=4
##########################################
# Casdoor configuration
##########################################
CASDOOR_PG_USER="casdoor"
CASDOOR_PG_PASSWORD="casdoorpassword"
CASDOOR_PG_HOST=db
CASDOOR_PG_PORT=55432
CASDOOR_PG_NAME="casdoor"
CASDOOR_CLIENT_SECRET="1a867fb714bbdf675529b6e9f0b4e74c13b0814a"
CASDOOR_CERT="-----BEGIN CERTIFICATE-----\nMIIE2TCCAsGgAwIBAgIDAeJAMA0GCSqGSIb3DQEBCwUAMCYxDjAMBgNVBAoTBWFk\nbWluMRQwEgYDVQQDDAtjZXJ0X2F2c3QyYzAeFw0yMzEwMzAxOTM0NDVaFw00MzEw\nMzAxOTM0NDVaMCYxDjAMBgNVBAoTBWFkbWluMRQwEgYDVQQDDAtjZXJ0X2F2c3Qy\nYzCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAM7Pq/elUZwbQGUunKqG\nGUnBQhS/4eBW6J+oKHQDemMLbbjL+8AHO8JcDtscOO8EQUQUNFsB1mmNlvgP8Srg\nL6rQTsDExFS1dbBZjRHKKdGsocHrZ+CIeVuqRlOuX/gJ5lvF4EmFr95JTktMoBg4\noJPFqM/SbcMAVZzExjYoXf6F0DT/Pl/J2o73ED3Q6rPpt05Qo7u9amN/FNpRm619\nLCqe/Tsq27GLW0AbsSyAv90XqP2aFvGg+2eWR7bpkXoHaFWU30Ot5oqD5j63eOJs\n3LnGaRguXW8obAxS537wEiBZfV7zSm0TN+FEiMW+R/2rjECl5mMEtqORHZBwDMXq\nn8CEKYbi/1xhx8WMu0fH32D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ERTIFICATE-----"
CASDOOR_ENDPOINT="http://casdoor:45910"
REACT_APP_CASDOOR_ENDPOINT="http://localhost:45910"
REACT_APP_CASDOOR_CLIENT_ID="1d69456af504f585b7bf"
REACT_APP_CASDOOR_ORG_NAME="org_graphowls"
REACT_APP_CASDOOR_APP_NAME="app_graphowls"
##########################################
# Scylla,JanusGraph,Elastic configuration
##########################################
SCYLLADATA="/var/lib/scylla"
JANUSGRAPH_URL="ws://janus:8182"
##########################################
# Worker configuration
##########################################
CELERY_BROKER_URL=redis://redis:6379//
CELERY_BACKEND=redis://redis:6379/1
CELERY_ENABLE_UTC=true
FLOWER_BASIC_AUTH="admin:password"
##########################################
# FastAPI configuration
##########################################
BACKEND_CORS_ORIGINS=["http://YOUR_WEBSITE.com","http://localhost:3000","http://localhost:80","http://local.host:3000","http://0.0.0.0:3000","http://0.0.0.0:80"]
# Run: `openssl rand -hex 32` and replace the below with your output
SECRET_KEY=d7c612d43c083f72f98a5ed6d3dc275516f0ac6ebdcc5fdb8c563a29cd114199
SQIDS_ALPHABET="RQWMLGFATEYHDSIUKXNCOVZJPB"
##########################################
# Development
##########################################
VENV_PATH=venv/bin