change order of command to save memory for stage
This commit is contained in:
parent
4b733d046b
commit
e925b49d20
|
@ -28,8 +28,8 @@ pipeline:
|
||||||
script:
|
script:
|
||||||
- cd /var/www/stage/maidstone-hackspace-website
|
- cd /var/www/stage/maidstone-hackspace-website
|
||||||
- git pull
|
- git pull
|
||||||
- docker-compose -fstage.yml build
|
|
||||||
- docker-compose -fstage.yml down --remove-orphans
|
- docker-compose -fstage.yml down --remove-orphans
|
||||||
|
- docker-compose -fstage.yml build
|
||||||
- docker-compose -fstage.yml up -d
|
- docker-compose -fstage.yml up -d
|
||||||
|
|
||||||
publish-live:
|
publish-live:
|
||||||
|
|
|
@ -32,6 +32,7 @@ services:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: ./compose/django/Dockerfile
|
dockerfile: ./compose/django/Dockerfile
|
||||||
user: django
|
user: django
|
||||||
|
mem_limit: 256m
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
# - redis
|
# - redis
|
||||||
|
|
Loading…
Reference in New Issue