Parse server init container
default: SERVER_URL="0.0.0.0"
default: PORT=1337
MASTER_KEY="myMasterKey"
Optional
CLIENT_KEY="myClientKey"
Select MONGODB_FULL_URI or MONGODB_HOST with options or MONGODB_SERVICE with options
Full MongoDb uri example: MONGODB_FULL_URI="mongodb://user:password@url:port/?options/db"
Select MONGODB_FULL_URI or MONGODB_HOST with options or MONGODB_SERVICE with options
MONGODB_URI"mongodb0.example.com"
Select MONGODB_FULL_URI or MONGODB_HOST with options or MONGODB_SERVICE with options
MONGODB_SERVICE="my-service-name"
MONGODB_USER="mongodbUser"
MONGODB_PASSWORD="mongoUserPassword"
MONGODB_PORT=27017
MONGODB_DATABASE="dbName"
MONGODB_OPTIONS="/?authSource=admin"
APP_ID="myAppID"
APP_NAME="myAppName"
default: MOUNT_PATH="/parse"
default: CLOUD_CODE_PATH="./cloud/main.js"
disable: CLOUD_CODE_PATH = ""
optional
REDIS_CACHE_PASSWORD="myRedisCacheSecret"
Options for redis.
Possible options: https://www.npmjs.com/package/redis#rediscreateclient
Do not add the password here.
Use REDIS_CACHE_PASSWORD for the password.
Options example: REDIS_CACHE_OPTIONS='{"url": "example.com","db": "test-db", "option2": "value"}'
default: 10mb
example: MAX_UPLOAD_SIZE = "20mb"
optional
example: LIVE_QUERY_CLASSNAMES = 'apple,orange,pear,banana,raspberry,peach'
No whitespaces allowed
wrong: LIVE_QUERY_CLASSNAMES = 'apple, orange, pear, banana, raspberry, peach'
optional
Redis url or Service
example: LIVE_QUERY_REDIS_URL="redis://parse-redis-service" or LIVE_QUERY_REDIS_URL="redis://url"
optional
example: LIVE_QUERY_REDIS_PASSWORD="myRedisSecret"
optional
Options for redis. Possible options: https://www.npmjs.com/package/redis#rediscreateclient
Do not add the password here.
Do not add the redis url here.
Use LIVE_QUERY_REDIS_PASSWORD for the password.
Use LIVE_QUERY_REDIS_URL for the url.
example: LIVE_QUERY_REDIS_OPTIONS='{"db": "test-db", "option2": "value"}'
optional
failed login attempts
default: {duration: 5, threshold: 3}
example: ACCOUNT_LOCKOUT = '{"duration": 2, "threshold": 6}'
optional
ref: https://docs.parseplatform.org/parse-server/guide/
When using files on Parse, you will need to use the publicServerURL option in your Parse Server config.
This is the URL that files will be accessed from, so it should be a URL that resolves to your Parse Server. Make sure to include your mount point in this URL.
optional
default: MOUNT_GRAPHQL=false
optional
default: GRAPHQL_PATH="/graphql"
optional
default: MOUNT_PLAYGROUND=false
ref: https://github.com/parse-community/parse-server#using-expressjs
Note: Do NOT use --mountPlayground option in production. Parse Dashboard has a built-in GraphQL Playground and it is the recommended option for production apps.
optional
default: PLAYGROUND_PATH="/playground"
default: MAX_LOG_FILES=1000
Maximum number of logs to keep. If not set, no logs will be removed. This can be a number of files or number of days. If using days, add 'd' as the suffix.
default: VERBOSE=false
Set the logging to verbose
optional
stringified JSON with extra environments from https://github.com/parse-community/parse-server/blob/master/src/Options/index.js
example: "{"jsonLogs": true}"
docker run \
-e MASTER_KEY="masterKey" \
-e MONGODB_HOST="localhost" \
-e APP_ID="appId" \
-e APP_NAME="appName" \
-e REDIS_CACHE_PASSWORD="redisCachepw" \
-e REDIS_CACHE_OPTIONS='{"url": "redis://redis-service}' \
-e LIVE_QUERY_CLASSNAMES='apple,orange,pear,banana,raspberry,peach' \
-e LIVE_QUERY_REDIS_PASSWORD="liveQueryRedisPW" \
-e LIVE_QUERY_REDIS_URL="redis//redis-url" \
-e MONGODB_URI="example.mongo.com" \
tk2232/parse-init
Content type
Image
Digest
Size
81.4 MB
Last updated
about 6 years ago
docker pull tk2232/parse-init