mirror of
https://github.com/wahyd4/harbor.git
synced 2026-08-10 21:35:59 +10:00
27 lines
586 B
Puppet
27 lines
586 B
Puppet
version: '2'
|
|
services:
|
|
registry:
|
|
image: library/registry:2.5.0
|
|
restart: always
|
|
ports:
|
|
- 5000:5000
|
|
volumes:
|
|
- /data/registry:/storage
|
|
- ./config/registry/:/etc/registry/
|
|
environment:
|
|
- GODEBUG=netdns=cgo
|
|
command:
|
|
["serve", "/etc/registry/config.yml"]
|
|
ui:
|
|
build:
|
|
context: ../
|
|
dockerfile: Deploy/ui/Dockerfile.pp
|
|
env_file:
|
|
- ./config/ui/env
|
|
restart: always
|
|
ports:
|
|
- 80:80
|
|
volumes:
|
|
- ./config/ui/app.conf:/etc/ui/app.conf
|
|
- ./config/ui/private_key.pem:/etc/ui/private_key.pem
|