mirror of
https://github.com/bitnami/containers.git
synced 2026-03-06 15:09:19 +08:00
3.1.3-rhel-7-r0 release
This commit is contained in:
33
bitnami/parse/3/rhel-7/Dockerfile
Normal file
33
bitnami/parse/3/rhel-7/Dockerfile
Normal file
@@ -0,0 +1,33 @@
|
||||
FROM registry.rhc4tp.openshift.com/bitnami/rhel-extras-7:latest
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
ENV BITNAMI_PKG_CHMOD="-R g+rwX" \
|
||||
HOME="/"
|
||||
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages bzip2-libs glibc keyutils-libs krb5-libs libcom_err libgcc libselinux libstdc++ ncurses-libs nss-softokn-freebl openssl-libs pcre readline zlib
|
||||
RUN bitnami-pkg install node-8.15.0-0 --checksum e58329d20dc57c4f7d5a3cc42a7e3fe532c287186204fb16e9b6b69e1369ee13
|
||||
RUN bitnami-pkg install mongodb-client-4.0.6-0 --checksum d093e37675ba2d695ef2e0d5369bb64c027e4e71cb4e1d6d093142b91838a4df
|
||||
RUN bitnami-pkg unpack parse-3.1.3-0 --checksum 7379981551f59de2c46e1c08795ea3e3644c9a1302b48b9b644ddeb9861760b2
|
||||
|
||||
COPY rootfs /
|
||||
ENV BITNAMI_APP_NAME="parse" \
|
||||
BITNAMI_IMAGE_VERSION="3.1.3-rhel-7-r0" \
|
||||
MONGODB_HOST="mongodb" \
|
||||
MONGODB_PASSWORD="" \
|
||||
MONGODB_PORT_NUMBER="27017" \
|
||||
MONGODB_USER="root" \
|
||||
NAMI_PREFIX="/.nami" \
|
||||
PARSE_APP_ID="myappID" \
|
||||
PARSE_ENABLE_CLOUD_CODE="no" \
|
||||
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
|
||||
|
||||
USER 1001
|
||||
ENTRYPOINT [ "/app-entrypoint.sh" ]
|
||||
CMD [ "/run.sh" ]
|
||||
19
bitnami/parse/3/rhel-7/docker-compose.yml
Normal file
19
bitnami/parse/3/rhel-7/docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
version: '2'
|
||||
services:
|
||||
mongodb:
|
||||
image: bitnami/mongodb:latest
|
||||
volumes:
|
||||
- mongodb_data:/bitnami
|
||||
parse:
|
||||
image: bitnami/parse:3-rhel-7
|
||||
ports:
|
||||
- '1337:1337'
|
||||
volumes:
|
||||
- parse_data:/bitnami
|
||||
depends_on:
|
||||
- mongodb
|
||||
volumes:
|
||||
mongodb_data:
|
||||
driver: local
|
||||
parse_data:
|
||||
driver: local
|
||||
13
bitnami/parse/3/rhel-7/rootfs/app-entrypoint.sh
Executable file
13
bitnami/parse/3/rhel-7/rootfs/app-entrypoint.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
. /opt/bitnami/base/functions
|
||||
. /opt/bitnami/base/helpers
|
||||
|
||||
print_welcome_page
|
||||
|
||||
if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "/run.sh" ]]; then
|
||||
nami_initialize parse
|
||||
info "Starting parse... "
|
||||
fi
|
||||
|
||||
exec tini -- "$@"
|
||||
12
bitnami/parse/3/rhel-7/rootfs/parse-inputs.json
Normal file
12
bitnami/parse/3/rhel-7/rootfs/parse-inputs.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"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}}",
|
||||
"enableCloudCode": "{{$global.env.PARSE_ENABLE_CLOUD_CODE}}",
|
||||
"host": "{{$global.env.PARSE_HOST}}",
|
||||
"masterKey": "{{$global.env.PARSE_MASTER_KEY}}",
|
||||
"mountPath": "{{$global.env.PARSE_MOUNT_PATH}}"
|
||||
}
|
||||
18
bitnami/parse/3/rhel-7/rootfs/run.sh
Executable file
18
bitnami/parse/3/rhel-7/rootfs/run.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
. /opt/bitnami/base/functions
|
||||
. /opt/bitnami/base/helpers
|
||||
|
||||
USER=parse
|
||||
DAEMON=parse-server
|
||||
EXEC=$(which $DAEMON)
|
||||
START_COMMAND="${EXEC} /opt/bitnami/parse/config.json"
|
||||
|
||||
cd /opt/bitnami/parse || exit 1
|
||||
|
||||
# If container is started as `root` user
|
||||
if [ $EUID -eq 0 ]; then
|
||||
exec gosu "${USER}" bash -c "${START_COMMAND}"
|
||||
else
|
||||
exec bash -c "${START_COMMAND}"
|
||||
fi
|
||||
@@ -48,7 +48,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
|
||||
|
||||
|
||||
* [`3-rhel-7`, `3.1.3-rhel-7-r0` (3/rhel-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-parse/blob/3.1.3-rhel-7-r0/3/rhel-7/Dockerfile)
|
||||
* [`3-ol-7`, `3.1.3-ol-7-r48` (3/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-parse/blob/3.1.3-ol-7-r48/3/ol-7/Dockerfile)
|
||||
* [`3-ol-7`, `3.1.3-ol-7-r47` (3/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-parse/blob/3.1.3-ol-7-r47/3/ol-7/Dockerfile)
|
||||
* [`3-debian-9`, `3.1.3-debian-9-r39`, `3`, `3.1.3`, `3.1.3-r39`, `latest` (3/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-parse/blob/3.1.3-debian-9-r39/3/debian-9/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/parse GitHub repo](https://github.com/bitnami/bitnami-docker-parse).
|
||||
|
||||
Reference in New Issue
Block a user