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 - name: s
path: /var/run/docker.sock path: /var/run/docker.sock
commands: commands:
- docker-compose up --build -d - docker-compose up --build -d --scale homepage=4
when: when:
branch: master branch: master
status: success status: success

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