13 lines
338 B
YAML
13 lines
338 B
YAML
---
|
|
services:
|
|
registry:
|
|
image: registry:latest
|
|
container_name: registry
|
|
networks:
|
|
public:
|
|
ipv4_address: 192.168.240.45
|
|
volumes:
|
|
- "${DOCKER_STORAGE_PATH}/registry/data:/var/lib/registry"
|
|
- "${DOCKER_STORAGE_PATH}/registry/config.yml:/etc/docker/registry/config.yml"
|
|
restart: unless-stopped
|