ajuste no drone
This commit is contained in:
parent
fb7185a0cd
commit
04daff9296
1 changed files with 0 additions and 11 deletions
11
.drone.yml
11
.drone.yml
|
|
@ -18,13 +18,6 @@ trigger:
|
||||||
steps:
|
steps:
|
||||||
- name: build-and-push-backend
|
- name: build-and-push-backend
|
||||||
image: plugins/docker:latest
|
image: plugins/docker:latest
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 500 # Reserva mínima de meia CPU
|
|
||||||
memory: 536870912 # Reserva mínima de RAM
|
|
||||||
limits:
|
|
||||||
cpu: 2000 # Máximo que pode usar (2 núcleos)
|
|
||||||
memory: 2147483648 # Máximo de RAM para não dar crash na máquina
|
|
||||||
settings:
|
settings:
|
||||||
registry: in.gohorsejobs.com
|
registry: in.gohorsejobs.com
|
||||||
repo: in.gohorsejobs.com/gohorsejobsdev/gohorsejobs-backend
|
repo: in.gohorsejobs.com/gohorsejobsdev/gohorsejobs-backend
|
||||||
|
|
@ -37,10 +30,6 @@ steps:
|
||||||
|
|
||||||
- name: build-and-push-backoffice
|
- name: build-and-push-backoffice
|
||||||
image: plugins/docker:latest
|
image: plugins/docker:latest
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
cpu: 1000 # Step leve, limitamos para não dar picos
|
|
||||||
memory: 536870912
|
|
||||||
settings:
|
settings:
|
||||||
registry: in.gohorsejobs.com
|
registry: in.gohorsejobs.com
|
||||||
repo: in.gohorsejobs.com/gohorsejobs-backoffice-dev/backoffice
|
repo: in.gohorsejobs.com/gohorsejobs-backoffice-dev/backoffice
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue