Logo
Explore Help
Sign In
gaspersic/robot-shop
1
0
Fork 0
You've already forked robot-shop
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
4c5903048c0830286090c95e6bffa9f5a0b7df45
robot-shop/docker-compose-load.yaml

18 lines
315 B
YAML
Raw Normal View History

Create load service docker-compose file This addition makes it easy to start into a load scenario right away with docker-compose, by referencing 2 docker-compose files. By default, only the file with the services will be loaded, for starting the load-gen right away, use `docker-compose -f docker-compose.yaml -f docker-compose.load.yaml OPERATION` The given config will use the internal container network to produce some load.
2019-10-24 11:49:52 +02:00
version: '3'
services:
load:
image: ${REPO}/rs-load:${TAG}
Add build context to enable building for load-gen
2019-10-24 11:51:28 +02:00
build:
context: load-gen
Create load service docker-compose file This addition makes it easy to start into a load scenario right away with docker-compose, by referencing 2 docker-compose files. By default, only the file with the services will be loaded, for starting the load-gen right away, use `docker-compose -f docker-compose.yaml -f docker-compose.load.yaml OPERATION` The given config will use the internal container network to produce some load.
2019-10-24 11:49:52 +02:00
environment:
HOST: http://web:8080
networks:
- robot-shop
depends_on:
- web
Add logging branches to prevent system pollution
2020-11-16 16:04:49 +01:00
logging: &logging
driver: "json-file"
options:
max-size: "25m"
max-file: "2"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.3 Page: 37ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API