Skip to content

Commit

Permalink
Also making a new docker compose sub stack
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpatto committed Dec 20, 2023
1 parent ac40d4c commit 9b905a1
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 74 deletions.
77 changes: 3 additions & 74 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

version: '3.1'

include:
- "mock-ica/docker-compose-mock-ica.yml"

services:

db:
Expand All @@ -30,80 +33,6 @@ services:
ports:
- "4566:4566"

haproxy:
image: public.ecr.aws/docker/library/haproxy:2.4
container_name: orcabus_haproxy
ports:
- "80:80"
volumes:
- ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg

wes:
image: stoplight/prism:4
platform: linux/amd64
container_name: orcabus_wes
command: mock -d -h 0.0.0.0 "/openapi/ica/v1/wes.json"
restart: always
ports:
- "4010:4010"
volumes:
- ./openapi/ica:/openapi/ica

tes:
image: stoplight/prism:4
platform: linux/amd64
container_name: orcabus_tes
command: mock -d -h 0.0.0.0 "/openapi/ica/v1/tes.json"
restart: always
ports:
- "4011:4010"
volumes:
- ./openapi/ica:/openapi/ica

gds:
image: stoplight/prism:4
platform: linux/amd64
container_name: orcabus_gds
command: mock -d -h 0.0.0.0 "/openapi/ica/v1/gds.json"
restart: always
ports:
- "4012:4010"
volumes:
- ./openapi/ica:/openapi/ica

ens:
image: stoplight/prism:4
platform: linux/amd64
container_name: orcabus_ens
command: mock -d -h 0.0.0.0 "/openapi/ica/v1/ens.json"
restart: always
ports:
- "4013:4010"
volumes:
- ./openapi/ica:/openapi/ica

console:
image: stoplight/prism:4
platform: linux/amd64
container_name: orcabus_console
command: mock -d -h 0.0.0.0 "/openapi/ica/v1/console.json"
restart: always
ports:
- "4014:4010"
volumes:
- ./openapi/ica:/openapi/ica

v2:
image: stoplight/prism:4
platform: linux/amd64
container_name: orcabus_ica_v2
command: mock -d -h 0.0.0.0 "/openapi/ica/v2/openapi_public.yaml"
restart: always
ports:
- "4015:4010"
volumes:
- ./openapi/ica:/openapi/ica

filemanager:
image: stoplight/prism:4
platform: linux/amd64
Expand Down
77 changes: 77 additions & 0 deletions mock-ica/docker-compose-mock-ica.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
version: '3.1'

services:

haproxy:
image: public.ecr.aws/docker/library/haproxy:2.4
container_name: orcabus_haproxy
ports:
- "80:80"
volumes:
- ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg

wes:
image: stoplight/prism:4
platform: linux/amd64
container_name: orcabus_wes
command: mock -d -h 0.0.0.0 "/openapi/ica/v1/wes.json"
restart: always
ports:
- "4010:4010"
volumes:
- ../openapi/ica:/openapi/ica

tes:
image: stoplight/prism:4
platform: linux/amd64
container_name: orcabus_tes
command: mock -d -h 0.0.0.0 "/openapi/ica/v1/tes.json"
restart: always
ports:
- "4011:4010"
volumes:
- ../openapi/ica:/openapi/ica

gds:
image: stoplight/prism:4
platform: linux/amd64
container_name: orcabus_gds
command: mock -d -h 0.0.0.0 "/openapi/ica/v1/gds.json"
restart: always
ports:
- "4012:4010"
volumes:
- ../openapi/ica:/openapi/ica

ens:
image: stoplight/prism:4
platform: linux/amd64
container_name: orcabus_ens
command: mock -d -h 0.0.0.0 "/openapi/ica/v1/ens.json"
restart: always
ports:
- "4013:4010"
volumes:
- ../openapi/ica:/openapi/ica

console:
image: stoplight/prism:4
platform: linux/amd64
container_name: orcabus_console
command: mock -d -h 0.0.0.0 "/openapi/ica/v1/console.json"
restart: always
ports:
- "4014:4010"
volumes:
- ../openapi/ica:/openapi/ica

v2:
image: stoplight/prism:4
platform: linux/amd64
container_name: orcabus_ica_v2
command: mock -d -h 0.0.0.0 "/openapi/ica/v2/openapi_public.yaml"
restart: always
ports:
- "4015:4010"
volumes:
- ../openapi/ica:/openapi/ica
File renamed without changes.

0 comments on commit 9b905a1

Please sign in to comment.