increase docker service memmory

This commit is contained in:
Evandre Silva
2022-06-03 09:00:57 +01:00
parent cc080105f6
commit e64aa5a212
+7 -3
View File
@@ -1,3 +1,7 @@
definitions:
services:
docker:
memory: 2048
pipelines:
branches:
developer:
@@ -9,7 +13,7 @@ pipelines:
- docker build -t $IMAGE_NAME .
- docker login --username $DOCKER_USER --password $DOCKER_PASS
- docker push $IMAGE_NAME
- step:
- step:
name: 'Deploy on server'
script:
- export BITBUCKET_COMMIT_SHORT=$(echo $BITBUCKET_COMMIT| cut -c1-7)
@@ -17,7 +21,7 @@ pipelines:
variables:
SSH_USER: 'administrator'
SERVER: '41.63.166.54'
COMMAND: 'export GDSITE_VERSION=${BITBUCKET_COMMIT_SHORT};cd ${COMPOSE_FOLDER} ; docker-compose up -d gdsite'
COMMAND: 'export GDSITE_VERSION=${BITBUCKET_COMMIT_SHORT};cd ${COMPOSE_FOLDER} ; docker-compose up -d gdsite'
options:
docker: true
docker: true