This commit is contained in:
@@ -39,6 +39,7 @@ pipeline {
|
||||
stage('Deploy with docker-compose') {
|
||||
steps {
|
||||
script {
|
||||
def buildTime = sh(script: "date '+%d-%m-%Y %H:%M:%S'", returnStdout: true).trim()
|
||||
withCredentials([
|
||||
usernamePassword(
|
||||
credentialsId: 'server-root-password',
|
||||
@@ -85,6 +86,7 @@ pipeline {
|
||||
-e POSTGRES_USER=${DB_USER} \\
|
||||
-e POSTGRES_PASSWORD=${DB_PASSWORD} \\
|
||||
-v pgdata_${params.PORT}:/var/lib/postgresql/data \\
|
||||
-e BUILD_TIME_BACK='${buildTime}' \\
|
||||
postgres:17.7
|
||||
|
||||
echo '4. Запускаем storage...'
|
||||
|
||||
Reference in New Issue
Block a user