added pbm credentials insallation
All checks were successful
ci/woodpecker/push/db Pipeline was successful
All checks were successful
ci/woodpecker/push/db Pipeline was successful
This commit is contained in:
@@ -172,7 +172,9 @@ services:
|
||||
command: |
|
||||
sh -lc '
|
||||
set -euo pipefail
|
||||
set -a
|
||||
. /etc/backup/pbm.env
|
||||
set +a
|
||||
U=$$(cat /etc/backup/.u) ; P=$$(cat /etc/backup/.p)
|
||||
export AWS_EC2_METADATA_DISABLED=true
|
||||
export PBM_MONGODB_URI="mongodb://$${U}:$${P}@sendico_db1:${MONGO_PORT}/?authSource=${MONGO_AUTH_SOURCE}&replicaSet=${MONGO_REPLICA_SET}"
|
||||
@@ -192,7 +194,9 @@ services:
|
||||
command: |
|
||||
sh -lc '
|
||||
set -euo pipefail
|
||||
set -a
|
||||
. /etc/backup/pbm.env
|
||||
set +a
|
||||
U=$$(cat /etc/backup/.u) ; P=$$(cat /etc/backup/.p)
|
||||
export AWS_EC2_METADATA_DISABLED=true
|
||||
export PBM_MONGODB_URI="mongodb://$${U}:$${P}@sendico_db2:${MONGO_PORT}/?authSource=${MONGO_AUTH_SOURCE}&replicaSet=${MONGO_REPLICA_SET}"
|
||||
@@ -212,7 +216,9 @@ services:
|
||||
command: |
|
||||
sh -lc '
|
||||
set -euo pipefail
|
||||
set -a
|
||||
. /etc/backup/pbm.env
|
||||
set +a
|
||||
U=$$(cat /etc/backup/.u) ; P=$$(cat /etc/backup/.p)
|
||||
export AWS_EC2_METADATA_DISABLED=true
|
||||
export PBM_MONGODB_URI="mongodb://$${U}:$${P}@sendico_db3:${MONGO_PORT}/?authSource=${MONGO_AUTH_SOURCE}&replicaSet=${MONGO_REPLICA_SET}"
|
||||
|
||||
Reference in New Issue
Block a user