-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathenv-example
More file actions
49 lines (38 loc) · 1.81 KB
/
env-example
File metadata and controls
49 lines (38 loc) · 1.81 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
45
46
47
48
# Docker local repo base
BUILDREPO=localbuild
# Timezone
TZ=Europe/Berlin
# Public server name
PUB_SRV_NAME=example.fritz.box
# Encryption settings
# Activate acme.sh for certificate creation
# if you diable this, it will generate a self-signed cert
ENABLE_LETSENCRYPT=0
LETSENCRYPT_DOMAIN="${PUB_SRV_NAME}"
LETSENCRYPT_EMAIL="admin@${PUB_SRV_NAME}"
# Use Let's Encrypt staging server for testing
LETSENCRYPT_USE_STAGING=0
# Ports from outside
HTTP_PORT=80
HTTPS_PORT=443
# Define a proxy server for building Docker images
# BEWARE: you might have to define a systemd service override also!
#PROXY=http://<user>:<password>@proxy.serv.er:<port>
# URLs to access JSON sharing backend
# BEWARE: if you changed the outside ports from standard HTTP/HTTPS, you have to add it here, too
REACT_APP_BACKEND_V1_GET_URL=https://$PUB_SRV_NAME/api/v1/
REACT_APP_BACKEND_V2_GET_URL=https://$PUB_SRV_NAME/api/v2/
REACT_APP_BACKEND_V2_POST_URL=https://$PUB_SRV_NAME/api/v2/post
# URLs to socket server
# BEWARE: if you changed the outside port from standard HTTP/HTTPS, you have to add it here, too
REACT_APP_SOCKET_SERVER_URL=https://$PUB_SRV_NAME
# Firebase configuration
REACT_APP_FIREBASE_CONFIG=
#REACT_APP_FIREBASE_CONFIG='{"apiKey":"AIzaSyAd15pYlMci_xIp9ko6wkEsDzAAA0Dn0RU","authDomain":"excalidraw-room-persistence.firebaseapp.com","databaseURL":"https://excalidraw-room-persistence.firebaseio.com","projectId":"excalidraw-room-persistence","storageBucket":"excalidraw-room-persistence.appspot.com","messagingSenderId":"654800341332","appId":"1:654800341332:web:4a692de832b55bd57ce0c1"}'
# excalidraw-json S3 backend configuration
EXCALIDRAW_S3_ENDPOINT=http://minio:9000
EXCALIDRAW_S3_BUCKET_NAME=excalidraw
EXCALIDRAW_S3_ACCESS_KEY_ID=minios
EXCALIDRAW_S3_SECRET_ACCESS_KEY=minioKey1234
EXCALIDRAW_S3_FORCE_PATH_STYLE=true
EXCALIDRAW_ALLOWED_ORIGIN=''