Skip to content

Commit

Permalink
separate mockServer from the rest of containers as it is used only ma…
Browse files Browse the repository at this point in the history
…nually and not by tests
  • Loading branch information
Grekkq committed Oct 16, 2023
1 parent 860f295 commit 8945655
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
17 changes: 17 additions & 0 deletions docker-compose-extra.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: "3"
services:

mockServer:
image: mockserver/mockserver:5.14.0
ports:
- 1080:1080
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
MOCKSERVER_WATCH_INITIALIZATION_JSON: "true"
MOCKSERVER_INITIALIZATION_JSON_PATH: /config/simulateBucketNotFoundDuringMultipartUpload.jsonc
genericJVMOptions: "-Xmx1024m -Xms512m"
volumes:
- type: bind
source: ./mockServer
target: /config
15 changes: 0 additions & 15 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
version: "3"
services:

mockServer:
image: mockserver/mockserver:5.14.0
ports:
- 1080:1080
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
MOCKSERVER_WATCH_INITIALIZATION_JSON: "true"
MOCKSERVER_PROPERTY_FILE: /config/mockserver.properties
MOCKSERVER_INITIALIZATION_JSON_PATH: /config/simulateBucketNotFoundDuringMultipartUpload.jsonc
volumes:
- type: bind
source: ./mockServer
target: /config

ceph:
image: ceph/daemon:v3.0.5-stable-3.0-luminous-centos-7
environment:
Expand Down

0 comments on commit 8945655

Please sign in to comment.