Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
Changed registry storage path to be the same as defined in the volume
Browse files Browse the repository at this point in the history
Signed-off-by: Soedarsono <soedar.sg@gmail.com>
  • Loading branch information
soedar committed Aug 2, 2017
1 parent 45c77a1 commit e821b8d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/compose/docker-compose.insecure.yml
Expand Up @@ -78,7 +78,7 @@ services:
threshold: 5
backoff: 1s
volumes:
- /var/lib/portus/registry:/registry_data
- /var/lib/portus/registry:/var/lib/registry
- ./secrets:/secrets:ro
- ./registry/config.yml:/etc/docker/registry/config.yml:ro
ports:
Expand Down
2 changes: 1 addition & 1 deletion examples/compose/docker-compose.yml
Expand Up @@ -87,7 +87,7 @@ services:
threshold: 5
backoff: 1s
volumes:
- /var/lib/portus/registry:/registry_data
- /var/lib/portus/registry:/var/lib/registry
- ./secrets:/secrets:ro
- ./registry/config.yml:/etc/docker/registry/config.yml:ro
- ./registry/init:/etc/docker/registry/init:ro
Expand Down
2 changes: 1 addition & 1 deletion examples/compose/registry/config.yml
@@ -1,7 +1,7 @@
version: 0.1
storage:
filesystem:
rootdirectory: /registry_data
rootdirectory: /var/lib/registry
delete:
enabled: true
http:
Expand Down

0 comments on commit e821b8d

Please sign in to comment.