parent
43ad2c99e1
commit
bf311bf21f
|
|
@ -0,0 +1,27 @@
|
|||
FROM bitnami/oraclelinux-extras:7-r85
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages bzip2-libs glibc keyutils-libs krb5-libs libcom_err libgcc libpcap libselinux libstdc++ ncurses-libs nss-softokn-freebl openssl-libs pcre readline sqlite zlib
|
||||
RUN bitnami-pkg install node-8.11.4-0 --checksum af7a50f918af19b1e8d530394c151101bb10281877f100f391b50cdcebdb7455
|
||||
RUN bitnami-pkg install mongodb-client-3.7.9-0 --checksum 7fbdfb5064e75d6b1aebb7a25e272649f20ac267347c8e6cd75e4c555c5ba509
|
||||
RUN bitnami-pkg unpack parse-3.0.0-0 --checksum 239df8fa5b45058019d93ec599b1548d7560b19da565bb53f975e49c4ad3d9b3
|
||||
|
||||
COPY rootfs /
|
||||
ENV BITNAMI_APP_NAME="parse" \
|
||||
BITNAMI_IMAGE_VERSION="3.0.0-ol-7-r0" \
|
||||
MONGODB_HOST="mongodb" \
|
||||
MONGODB_PASSWORD="" \
|
||||
MONGODB_PORT_NUMBER="27017" \
|
||||
MONGODB_USER="root" \
|
||||
PARSE_APP_ID="myappID" \
|
||||
PARSE_HOST="127.0.0.1" \
|
||||
PARSE_MASTER_KEY="mymasterKey" \
|
||||
PARSE_MOUNT_PATH="/parse" \
|
||||
PARSE_PORT_NUMBER="1337" \
|
||||
PATH="/opt/bitnami/node/bin:/opt/bitnami/mongodb/bin:/opt/bitnami/parse/bin:$PATH"
|
||||
|
||||
EXPOSE 1337
|
||||
|
||||
ENTRYPOINT [ "/app-entrypoint.sh" ]
|
||||
CMD [ "nami", "start", "--foreground", "parse" ]
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
version: '2'
|
||||
services:
|
||||
mongodb:
|
||||
image: 'bitnami/mongodb:3.7-ol-7'
|
||||
volumes:
|
||||
- 'mongodb_data:/bitnami'
|
||||
parse:
|
||||
image: 'bitnami/parse:3-ol-7'
|
||||
ports:
|
||||
- '1337:1337'
|
||||
volumes:
|
||||
- 'parse_data:/bitnami'
|
||||
depends_on:
|
||||
- mongodb
|
||||
volumes:
|
||||
mongodb_data:
|
||||
driver: local
|
||||
parse_data:
|
||||
driver: local
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
. /opt/bitnami/base/functions
|
||||
. /opt/bitnami/base/helpers
|
||||
|
||||
print_welcome_page
|
||||
|
||||
if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "/init.sh" ]]; then
|
||||
nami_initialize parse
|
||||
info "Starting parse... "
|
||||
fi
|
||||
|
||||
exec tini -- "$@"
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"appId": "{{$global.env.PARSE_APP_ID}}",
|
||||
"applicationPort": "{{$global.env.PARSE_PORT_NUMBER}}",
|
||||
"databaseAdminPassword": "{{$global.env.MONGODB_PASSWORD}}",
|
||||
"databaseAdminUser": "{{$global.env.MONGODB_USER}}",
|
||||
"databaseServerHost": "{{$global.env.MONGODB_HOST}}",
|
||||
"databaseServerPort": "{{$global.env.MONGODB_PORT_NUMBER}}",
|
||||
"host": "{{$global.env.PARSE_HOST}}",
|
||||
"masterKey": "{{$global.env.PARSE_MASTER_KEY}}",
|
||||
"mountPath": "{{$global.env.PARSE_MOUNT_PATH}}"
|
||||
}
|
||||
|
|
@ -36,8 +36,8 @@ $ docker-compose up -d
|
|||
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/containers/how-to/understand-rolling-tags-containers/).
|
||||
|
||||
|
||||
* [`2-ol-7`, `2.8.4-ol-7-r13` (2/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-parse/blob/2.8.4-ol-7-r13/2/ol-7/Dockerfile)
|
||||
* [`2-debian-9`, `2.8.4-debian-9-r8`, `2`, `2.8.4`, `2.8.4-r8`, `latest` (2/Dockerfile)](https://github.com/bitnami/bitnami-docker-parse/blob/2.8.4-debian-9-r8/2/Dockerfile)
|
||||
* [`3-ol-7`, `3.0.0-ol-7-r0` (3/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-parse/blob/3.0.0-ol-7-r0/3/ol-7/Dockerfile)
|
||||
* [`3-debian-9`, `0.0.0-debian-9-r0`, `3`, `0.0.0`, `0.0.0-r0`, `latest` (3/Dockerfile)](https://github.com/bitnami/bitnami-docker-parse/blob/0.0.0-debian-9-r0/3/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/parse GitHub repo](https://github.com/bitnami/bitnami-docker-parse).
|
||||
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ jobs:
|
|||
docker:
|
||||
- image: docker:17.06.0-ce-git
|
||||
environment:
|
||||
RELEASE_SERIES_LIST: "2"
|
||||
LATEST_STABLE: "2"
|
||||
RELEASE_SERIES_LIST: "3"
|
||||
LATEST_STABLE: "3"
|
||||
DISTRIBUTIONS_LIST: "debian-9,ol-7"
|
||||
IMAGE_NAME: parse
|
||||
CHART_NAME: parse
|
||||
|
|
|
|||
Loading…
Reference in New Issue