File tree Expand file tree Collapse file tree 3 files changed +2
-12
lines changed
Expand file tree Collapse file tree 3 files changed +2
-12
lines changed Original file line number Diff line number Diff line change 1- FROM postgres:12.3
1+ FROM postgres:12.22
22
33RUN apt-get update && apt install curl -y && apt clean
44COPY docker-entrypoint-initdb.d /docker-entrypoint-initdb.d
Original file line number Diff line number Diff line change 11#! /bin/bash -ex
2- if [ ! -z " $DYNATRACE_TOKEN " ]; then
3- curl -Ls -H " Authorization: Api-Token ${DYNATRACE_TOKEN} " ' https://nhd42358.live.dynatrace.com/api/v1/deployment/installer/agent/unix/default/latest?arch=x86&flavor=default' > installer.sh
4-
5- /bin/sh installer.sh --set-app-log-content-access=true --set-infra-only=true --set-host-group=DC --set-host-name=${CLUSTER_NAME} -psql 2>&1 &
6- fi
7-
8- su postgres -c " /docker-entrypoint.sh postgres -c 'max_connections=500'"
9-
2+ su postgres -c " postgres -c 'max_connections=500'"
Original file line number Diff line number Diff line change 1- version : ' 3'
2-
31services :
42 db :
53 command : /bin/bash -c '/boot.sh'
@@ -10,7 +8,6 @@ services:
108 volumes :
119 - " db:/var/lib/postgresql/data"
1210 environment :
13- DYNATRACE_TOKEN : ${DYNATRACE_TOKEN}
1411 CLUSTER_NAME : ${CLUSTER_NAME}
1512 # This should be a comma delimited list of databases, no spaces
1613 POSTGRES_MULTIPLE_DATABASES : blacklight_yul_development,yul_dc_management_development
You can’t perform that action at this time.
0 commit comments