mirror of
https://github.com/bitnami/containers.git
synced 2026-02-19 14:08:07 +08:00
2.0.3-debian-9-r0 release
This commit is contained in:
31
bitnami/parse-dashboard/2/debian-9/Dockerfile
Normal file
31
bitnami/parse-dashboard/2/debian-9/Dockerfile
Normal file
@@ -0,0 +1,31 @@
|
||||
FROM bitnami/minideb-extras:stretch-r480
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
ENV BITNAMI_PKG_CHMOD="-R g+rwX" \
|
||||
HOME="/"
|
||||
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages ghostscript imagemagick libbz2-1.0 libc6 libgcc1 libncurses5 libreadline7 libsqlite3-0 libssl1.1 libstdc++6 libtinfo5 zlib1g
|
||||
RUN bitnami-pkg install node-8.16.1-0 --checksum 912809b0cd1ddc5828dea8f09fdf55e09653e62a95b38dac9823efc8b659fe9a
|
||||
RUN bitnami-pkg unpack parse-dashboard-2.0.3-0 --checksum dfa8186ed0165b26104b9f7c09929df5666de9ff692e2cff2702d7c409085d1c
|
||||
|
||||
COPY rootfs /
|
||||
ENV BITNAMI_APP_NAME="parse-dashboard" \
|
||||
BITNAMI_IMAGE_VERSION="2.0.3-debian-9-r0" \
|
||||
NAMI_PREFIX="/.nami" \
|
||||
PARSE_APP_ID="myappID" \
|
||||
PARSE_DASHBOARD_APP_NAME="MyDashboard" \
|
||||
PARSE_DASHBOARD_PASSWORD="bitnami" \
|
||||
PARSE_DASHBOARD_USER="user" \
|
||||
PARSE_HOST="parse" \
|
||||
PARSE_MASTER_KEY="mymasterKey" \
|
||||
PARSE_MOUNT_PATH="/parse" \
|
||||
PARSE_PORT_NUMBER="1337" \
|
||||
PARSE_USE_HOSTNAME="no" \
|
||||
PATH="/opt/bitnami/node/bin:/opt/bitnami/parse-dashboard/bin:$PATH"
|
||||
|
||||
EXPOSE 4040
|
||||
|
||||
USER 1001
|
||||
ENTRYPOINT [ "/app-entrypoint.sh" ]
|
||||
CMD [ "/run.sh" ]
|
||||
29
bitnami/parse-dashboard/2/debian-9/docker-compose.yml
Normal file
29
bitnami/parse-dashboard/2/debian-9/docker-compose.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
version: '2'
|
||||
services:
|
||||
mongodb:
|
||||
image: 'bitnami/mongodb:4.0'
|
||||
volumes:
|
||||
- 'mongodb_data:/bitnami'
|
||||
parse:
|
||||
image: 'bitnami/parse:3'
|
||||
ports:
|
||||
- '1337:1337'
|
||||
volumes:
|
||||
- 'parse_data:/bitnami'
|
||||
depends_on:
|
||||
- mongodb
|
||||
parse-dashboard:
|
||||
image: 'bitnami/parse-dashboard:2'
|
||||
ports:
|
||||
- '80:4040'
|
||||
volumes:
|
||||
- 'parse_dashboard_data:/bitnami'
|
||||
depends_on:
|
||||
- parse
|
||||
volumes:
|
||||
mongodb_data:
|
||||
driver: local
|
||||
parse_data:
|
||||
driver: local
|
||||
parse_dashboard_data:
|
||||
driver: local
|
||||
13
bitnami/parse-dashboard/2/debian-9/rootfs/app-entrypoint.sh
Executable file
13
bitnami/parse-dashboard/2/debian-9/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-dashboard
|
||||
info "Starting parse-dashboard... "
|
||||
fi
|
||||
|
||||
exec tini -- "$@"
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"dashboardName": "{{$global.env.PARSE_DASHBOARD_APP_NAME}}",
|
||||
"parseAppId": "{{$global.env.PARSE_APP_ID}}",
|
||||
"parseHost": "{{$global.env.PARSE_HOST}}",
|
||||
"parseMasterKey": "{{$global.env.PARSE_MASTER_KEY}}",
|
||||
"parseMountPath": "{{$global.env.PARSE_MOUNT_PATH}}",
|
||||
"parsePort": "{{$global.env.PARSE_PORT_NUMBER}}",
|
||||
"parseUseHostname": "{{$global.env.PARSE_USE_HOSTNAME}}",
|
||||
"password": "{{$global.env.PARSE_DASHBOARD_PASSWORD}}",
|
||||
"username": "{{$global.env.PARSE_DASHBOARD_USER}}"
|
||||
}
|
||||
18
bitnami/parse-dashboard/2/debian-9/rootfs/run.sh
Executable file
18
bitnami/parse-dashboard/2/debian-9/rootfs/run.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
. /opt/bitnami/base/functions
|
||||
. /opt/bitnami/base/helpers
|
||||
|
||||
USER=parsedashboard
|
||||
DAEMON=parse-dashboard
|
||||
EXEC=$(which $DAEMON)
|
||||
START_COMMAND="${EXEC} --config /opt/bitnami/parse-dashboard/config.json --allowInsecureHTTP 1"
|
||||
|
||||
cd /opt/bitnami/parse-dashboard || 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
|
||||
@@ -37,8 +37,8 @@ Non-root container images add an extra layer of security and are generally recom
|
||||
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/).
|
||||
|
||||
|
||||
* [`1-ol-7`, `1.4.3-ol-7-r57` (1/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-parse-dashboard/blob/1.4.3-ol-7-r57/1/ol-7/Dockerfile)
|
||||
* [`1-debian-9`, `1.4.3-debian-9-r51`, `1`, `1.4.3`, `1.4.3-r51`, `latest` (1/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-parse-dashboard/blob/1.4.3-debian-9-r51/1/debian-9/Dockerfile)
|
||||
* [`2-debian-9`, `2.0.3-debian-9-r0`, `2`, `2.0.3`, `2.0.3-r0`, `latest` (2/debian-9/Dockerfile)](https://github.com/bitnami/bitnami-docker-parse-dashboard/blob/2.0.3-debian-9-r0/2/debian-9/Dockerfile)
|
||||
* [`2-ol-7`, `0.0.0-ol-7-r0` (2/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-parse-dashboard/blob/0.0.0-ol-7-r0/2/ol-7/Dockerfile)
|
||||
|
||||
Subscribe to project updates by watching the [bitnami/parse-dashboard GitHub repo](https://github.com/bitnami/bitnami-docker-parse-dashboard).
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ services:
|
||||
depends_on:
|
||||
- mongodb
|
||||
parse-dashboard:
|
||||
image: 'bitnami/parse-dashboard:1'
|
||||
image: 'bitnami/parse-dashboard:2'
|
||||
ports:
|
||||
- '80:4040'
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user