Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.6"

networks:
docker_test:
external: true
Expand Down
21 changes: 10 additions & 11 deletions asset-transfer-basic/rest-api-typescript/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
version: '3'
# Replace network name with the fabric test-network name
# Replace network name with the fabric test-network name
services:
redis:
image: 'redis'
command: ['--maxmemory-policy','noeviction','--requirepass','${REDIS_PASSWORD}']
redis:
image: "redis"
command:
["--maxmemory-policy", "noeviction", "--requirepass", "${REDIS_PASSWORD}"]
ports:
- 6379:6379
networks:
- fabric_test

nodeapp:
image: 'ghcr.io/hyperledger/fabric-rest-sample:latest'
command: ['start:dotenv']
image: "ghcr.io/hyperledger/fabric-rest-sample:latest"
command: ["start:dotenv"]
ports:
- 3000:3000
env_file:
- ./.env
environment:
- REDIS_PASSWORD
networks:
- fabric_test

- fabric_test

networks:
fabric_test:
external: true
external: true
2 changes: 0 additions & 2 deletions test-network/addOrg3/compose/compose-ca-org3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
# SPDX-License-Identifier: Apache-2.0
#

version: '3.7'

networks:
test:
name: fabric_test
Expand Down
2 changes: 0 additions & 2 deletions test-network/addOrg3/compose/compose-couch-org3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
# SPDX-License-Identifier: Apache-2.0
#

version: '3.7'

networks:
test:
name: fabric_test
Expand Down
2 changes: 0 additions & 2 deletions test-network/addOrg3/compose/compose-org3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
# SPDX-License-Identifier: Apache-2.0
#

version: '3.7'

volumes:
peer0.org3.example.com:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@
#
# SPDX-License-Identifier: Apache-2.0
#

version: '3.7'

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@
#
# SPDX-License-Identifier: Apache-2.0
#

version: '3.7'

Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@
# SPDX-License-Identifier: Apache-2.0
#

version: '3.7'

networks:
test:
name: fabric_test

services:

peer0.org3.example.com:
container_name: peer0.org3.example.com
image: hyperledger/fabric-peer:latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
# SPDX-License-Identifier: Apache-2.0
#

version: '3.7'

networks:
test:
name: fabric_test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
# SPDX-License-Identifier: Apache-2.0
#

version: '3.7'

networks:
test:
name: fabric_test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
# SPDX-License-Identifier: Apache-2.0
#

version: '3.7'

volumes:
peer0.org3.example.com:

Expand Down
2 changes: 0 additions & 2 deletions test-network/compose/compose-bft-test-net.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.7'

volumes:
orderer.example.com:
orderer2.example.com:
Expand Down
2 changes: 0 additions & 2 deletions test-network/compose/compose-ca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
# SPDX-License-Identifier: Apache-2.0
#

version: '3.7'

networks:
test:
name: fabric_test
Expand Down
2 changes: 0 additions & 2 deletions test-network/compose/compose-couch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
# SPDX-License-Identifier: Apache-2.0
#

version: '3.7'

networks:
test:
name: fabric_test
Expand Down
2 changes: 0 additions & 2 deletions test-network/compose/compose-test-net.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
# SPDX-License-Identifier: Apache-2.0
#

version: '3.7'

volumes:
orderer.example.com:
peer0.org1.example.com:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# SPDX-License-Identifier: Apache-2.0
#

version: '3.7'
services:
peer0.org1.example.com:
container_name: peer0.org1.example.com
Expand Down
3 changes: 0 additions & 3 deletions test-network/compose/docker/docker-compose-ca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@
#
# SPDX-License-Identifier: Apache-2.0
#

version: '3.7'

2 changes: 0 additions & 2 deletions test-network/compose/docker/docker-compose-couch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
#
# SPDX-License-Identifier: Apache-2.0
#

version: '3.7'
1 change: 0 additions & 1 deletion test-network/compose/docker/docker-compose-test-net.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# SPDX-License-Identifier: Apache-2.0
#

version: '3.7'
services:
peer0.org1.example.com:
container_name: peer0.org1.example.com
Expand Down
2 changes: 0 additions & 2 deletions test-network/compose/podman/podman-compose-ca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
#
# SPDX-License-Identifier: Apache-2.0
#

version: '3.7'
2 changes: 0 additions & 2 deletions test-network/compose/podman/podman-compose-couch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@
#
# SPDX-License-Identifier: Apache-2.0
#

version: '3.7'
2 changes: 0 additions & 2 deletions test-network/compose/podman/podman-compose-test-net.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
# SPDX-License-Identifier: Apache-2.0
#

version: '3.7'

services:
peer0.org1.example.com:
volumes:
Expand Down
24 changes: 11 additions & 13 deletions test-network/prometheus-grafana/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
version: '3'

volumes:
prometheus_data: {}
grafana_storage: {}
prometheus_data: {}
grafana_storage: {}

services:
prometheus:
Expand All @@ -12,13 +10,13 @@ services:
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
- prometheus_data:/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--web.console.libraries=/usr/share/prometheus/console_libraries'
- '--web.console.templates=/usr/share/prometheus/consoles'
- "--config.file=/etc/prometheus/prometheus.yml"
- "--storage.tsdb.path=/prometheus"
- "--web.console.libraries=/usr/share/prometheus/console_libraries"
- "--web.console.templates=/usr/share/prometheus/consoles"
ports:
- "9090:9090"

grafana:
image: grafana/grafana:8.3.4
container_name: grafana
Expand Down Expand Up @@ -54,8 +52,8 @@ services:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
command:
- '--path.procfs=/host/proc'
- '--path.sysfs=/host/sys'
- "--path.procfs=/host/proc"
- "--path.sysfs=/host/sys"
- --collector.filesystem.ignored-mount-points
- "^/(sys|proc|dev|host|etc|rootfs/var/lib/docker/containers|rootfs/var/lib/docker/overlay2|rootfs/run/docker/netns|rootfs/var/lib/docker/aufs)($$|/)"
ports:
Expand All @@ -64,5 +62,5 @@ services:

networks:
default:
external: true
name: fabric_test
external: true
name: fabric_test
2 changes: 0 additions & 2 deletions token-sdk/compose-ca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
# SPDX-License-Identifier: Apache-2.0
#

version: '3.7'

services:
ca_token_network:
image: hyperledger/fabric-ca:1.5.7
Expand Down
18 changes: 8 additions & 10 deletions token-sdk/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.7'

# fabric_test is the name of the fabric-samples test network.
# By connecting to it, we can reach the peers at their DNS names
# (e.g. peer0.org1.example.com).
Expand Down Expand Up @@ -44,7 +42,7 @@ services:
ports:
- 9100:9000
expose:
- 9101
- 9101
networks:
- test
depends_on:
Expand Down Expand Up @@ -92,10 +90,10 @@ services:
condition: service_healthy

swagger-ui:
image: swaggerapi/swagger-ui
ports:
- '8080:8080'
environment:
- URL=/swagger.yaml
volumes:
- ./swagger.yaml:/usr/share/nginx/html/swagger.yaml
image: swaggerapi/swagger-ui
ports:
- "8080:8080"
environment:
- URL=/swagger.yaml
volumes:
- ./swagger.yaml:/usr/share/nginx/html/swagger.yaml
4 changes: 0 additions & 4 deletions token-sdk/explorer/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@

# SPDX-License-Identifier: Apache-2.0

# see https://github.com/hyperledger-labs/blockchain-explorer

version: '2.1'

volumes:
pgdata:
walletstore:
Expand All @@ -15,7 +12,6 @@ networks:
external: true

services:

explorerdb.mynetwork.com:
image: ghcr.io/hyperledger-labs/explorer-db:latest
container_name: explorerdb.mynetwork.com
Expand Down
Loading