-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
65 lines (55 loc) · 2.77 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
##############################################################
# #
# SPCgeonode Settings #
# #
# The defauts settings are suited for testing on localhost. #
# If you're deploying SPCgeonode for production, you need to #
# adapt the following settings #
# #
# DO NOT FORGET to also modify values in _secrets ! #
# #
##############################################################
# Name of the setup (you only need to change this if you run several instances of the stack)
COMPOSE_PROJECT_NAME=spcgeonode
# IP or domain name and port where the server can be reached on HTTPS (leave HOST empty if you want to use HTTP only)
HTTPS_HOST=
HTTPS_PORT=443
# IP or domain name and port where the server can be reached on HTTP (leave HOST empty if you want to use HTTPS only)
HTTP_HOST=127.0.0.1
HTTP_PORT=80
# Email where alters should be sent. This will be used by let's encrypt and as the django admin email.
ADMIN_USERNAME=admin
ADMIN_PASSWORD=admin
# Database environment
POSTGRES_USER=postgres
## PostgreSQL superuser password (to be set if PostgreSQL is exposed)
POSTGRES_PASSWORD=postgres
## geonode specific variables
## the standart geonode django database with non-spatial data
## the db name and username are identical by design
GEONODE_DATABASE=geonode
GEONODE_DATABASE_USER=geonode
GEONODE_DATABASE_PASSWORD=geonode
## the spatial geonode django postigs database for data ingestion
## the db name and username are identical by design
GEONODE_GEODATABASE=geonode_data
GEONODE_GEODATABASE_USER=geonode_data
GEONODE_GEODATABASE_PASSWORD=geonode
# Django secret key (replace this by any complex and random string)
SECRET_KEY=123G567890ABCDEFGHIJKLMNOPQRSTUVWXYZ
# Let's Encrypt certificates for https encryption. You must have a domain name as HTTPS_HOST (doesn't work
# with an ip) and it must be reachable from the outside. This can be one of the following :
# disabled : we do not get a certificate at all (a placeholder certificate will be used)
# staging : we get staging certificates (are invalid, but allow to test the process completely and have much higher limit rates)
# production : we get a normal certificate (default)
LETSENCRYPT_MODE=production
# Choose from https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
TIME_ZONE=UTC
# Whether users should be able to create accounts themselves
REGISTRATION_OPEN=True
# Rclone backup configuration for Amazon S3 (leave empty if you don't want to use S3)
S3_ACCESS_KEY=
S3_SECRET_KEY=
S3_REGION=
S3_BUCKET=