fix: docker-compose build issue (#20)
All checks were successful
continuous-integration/drone/push Build is passing

chore: add scaling param to the .drone.yml

fix: issue when dc build fails due to scale

Co-authored-by: surtur <a_mirre@utb.cz>
Reviewed-on: #20
Co-Authored-By: wanderer <wanderer@noreply.git.dotya.ml>
Co-Committed-By: wanderer <wanderer@noreply.git.dotya.ml>
This commit is contained in:
wanderer 2020-10-04 16:29:51 +02:00
parent 5317325ab0
commit 2efd79e1e4
Signed by: Gitea
GPG Key ID: 0DD13DBC6B5433D3
2 changed files with 1 additions and 2 deletions

@ -179,7 +179,7 @@ steps:
- name: s
path: /var/run/docker.sock
commands:
- docker-compose up --build -d
- docker-compose up --build -d --scale homepage=4
when:
branch: master
status: success

@ -19,7 +19,6 @@ services:
networks:
- internal-nw
restart: unless-stopped
scale: 4
labels:
- traefik.enable=true
- traefik.http.services.homepage.loadbalancer.server.port=80