File tree Expand file tree Collapse file tree
rootfs/docker-entrypoint-initdb.d Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ RUN buildDeps='gcc git libffi-dev libssl-dev python3-dev python3-pip python3-whe
4242 envdir==0.7 \
4343 wal-e[aws,azure,google,swift]==v1.0.1 && \
4444 # "upgrade" boto to 2.43.0 + the patch to fix minio connections
45- pip install --disable-pip-version-check --no-cache-dir --upgrade git+https://github.com/deis/boto@d5d32ec42c99e9ecd030f8a4873adcda0070153d && \
45+ pip install --disable-pip-version-check --no-cache-dir --upgrade git+https://github.com/deis/boto@88c980e56d1053892eb940d43a15a68af4ebb5e6 && \
4646 # cleanup
4747 apt-get purge -y --auto-remove $buildDeps && \
4848 apt-get autoremove -y && \
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ trap 'kill-container $MINIO_JOB' INT TERM
4141MINIO_JOB=$( docker run -dv $CURRENT_DIR /tmp/aws-admin:/var/run/secrets/deis/minio/admin -v $CURRENT_DIR /tmp/aws-user:/var/run/secrets/deis/minio/user -v $CURRENT_DIR /tmp/k8s:/var/run/secrets/kubernetes.io/serviceaccount quay.io/deisci/minio:canary boot server /home/minio/)
4242
4343# boot postgres, linking the minio container and setting DEIS_MINIO_SERVICE_HOST and DEIS_MINIO_SERVICE_PORT
44- PG_CMD=" docker run -d --link $MINIO_JOB :minio --link $MINIO_JOB :s3-us-east-1.minio - e PGCTLTIMEOUT=1200 -e BACKUP_FREQUENCY=1s -e DATABASE_STORAGE=minio -e DEIS_MINIO_SERVICE_HOST=minio -e DEIS_MINIO_SERVICE_PORT=9000 -v $CURRENT_DIR /tmp/creds:/var/run/secrets/deis/database/creds -v $CURRENT_DIR /tmp/aws-user:/var/run/secrets/deis/objectstore/creds $1 "
44+ PG_CMD=" docker run -d --link $MINIO_JOB :minio -e PGCTLTIMEOUT=1200 -e BACKUP_FREQUENCY=1s -e DATABASE_STORAGE=minio -e DEIS_MINIO_SERVICE_HOST=minio -e DEIS_MINIO_SERVICE_PORT=9000 -v $CURRENT_DIR /tmp/creds:/var/run/secrets/deis/database/creds -v $CURRENT_DIR /tmp/aws-user:/var/run/secrets/deis/objectstore/creds $1 "
4545
4646# kill containers when this script exits or errors out
4747trap ' kill-container $PG_JOB' INT TERM
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ if [[ "$DATABASE_STORAGE" == "s3" || "$DATABASE_STORAGE" == "minio" ]]; then
1212 AWS_REGION=" us-east-1"
1313 BUCKET_NAME=" dbwal"
1414 # these only need to be set if we're not accessing S3 (boto will figure this out)
15- echo " http+path://s3- $AWS_REGION . $DEIS_MINIO_SERVICE_HOST :$DEIS_MINIO_SERVICE_PORT " > WALE_S3_ENDPOINT
15+ echo " http+path://$DEIS_MINIO_SERVICE_HOST :$DEIS_MINIO_SERVICE_PORT " > WALE_S3_ENDPOINT
1616 echo " $DEIS_MINIO_SERVICE_HOST " > S3_HOST
1717 echo " $DEIS_MINIO_SERVICE_PORT " > S3_PORT
1818 # enable sigv4 authentication
You can’t perform that action at this time.
0 commit comments