mirror of
https://github.com/oceanprotocol/barge.git
synced 2024-11-22 09:47:04 +01:00
21 lines
494 B
YAML
21 lines
494 B
YAML
|
version: '3'
|
||
|
services:
|
||
|
registry:
|
||
|
restart: always
|
||
|
container_name: docker-registry
|
||
|
image: registry:2
|
||
|
ports:
|
||
|
- 5050:5000
|
||
|
networks:
|
||
|
backend:
|
||
|
ipv4_address: 172.15.0.11
|
||
|
environment:
|
||
|
REGISTRY_HTTP_ADDR: "172.15.0.11:5000"
|
||
|
REGISTRY_HTTP_TLS_CERTIFICATE: /certs/registry.crt
|
||
|
REGISTRY_HTTP_TLS_KEY: /certs/registry.key
|
||
|
volumes:
|
||
|
- registryvol:/var/lib/registry
|
||
|
- ${OCEAN_CERTS_FOLDER}/registry:/certs
|
||
|
|
||
|
volumes:
|
||
|
registryvol:
|