Skip to content

Commit e8edc26

Browse files
authored
Remove dynatrace functions and references (#11)
1 parent 99582ba commit e8edc26

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM postgres:12.3
1+
FROM postgres:12.22
22

33
RUN apt-get update && apt install curl -y && apt clean
44
COPY docker-entrypoint-initdb.d /docker-entrypoint-initdb.d

ops/boot.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
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'"

toy.docker-compose.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '3'
2-
31
services:
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

0 commit comments

Comments
 (0)