forked from cmdmnt/commandment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
travis-ci-settings.cfg
38 lines (27 loc) · 1.31 KB
/
travis-ci-settings.cfg
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
# This settings file will be used only in Travis CI
from os import path
dirname = path.dirname(__file__)
# The public facing hostname of the MDM
# This will also be used as the self signed certificate dnsname
PUBLIC_HOSTNAME = 'commandment.dev'
# Development mode listen port
PORT = 5443
# Configure your Database URI.
# All SQLAlchemy options are available here:
# http://flask-sqlalchemy.pocoo.org/2.1/config/
SQLALCHEMY_DATABASE_URI = 'sqlite:///:memory:'
# You may supply the certificate as a pair of PEM encoded files, or as a .p12 container.
# If you supply .p12 it will be encoded as a PEM keypair
PUSH_CERTIFICATE = '../push.pem'
PUSH_KEY = '../push.key'
PUSH_CERTIFICATE_PASSWORD = 'sekret' # for pkcs12 only
# If commandment is running in development mode, specify the path to the certificate and private key.
# These can also be generated at start up.
# Normally SSL should be handled by Apache/Nginx/etc.
# Specify the Enterprise CA here if Apple Devices won't natively trust your CA.
CA_CERTIFICATE = path.join(dirname, 'ssl', 'ca.crt')
SSL_CERTIFICATE = path.join(dirname, 'ssl', 'server.crt')
SSL_RSA_KEY = path.join(dirname, 'ssl', 'server.key')
# If not using external storage, the path to the root directory for upload storage.
# This should not be used in production.
STORAGE_ROOT = path.join(dirname, 'storage')