2016-08-08 10:40:14 +02:00
|
|
|
version: '2'
|
|
|
|
services:
|
|
|
|
registry:
|
2017-12-09 19:53:12 +01:00
|
|
|
image: vmware/registry-photon:__reg_version__
|
2016-08-08 10:40:14 +02:00
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- /data/registry:/storage
|
2016-10-19 08:32:00 +02:00
|
|
|
- ./common/config/registry/:/etc/registry/
|
2016-08-08 10:40:14 +02:00
|
|
|
environment:
|
|
|
|
- GODEBUG=netdns=cgo
|
|
|
|
ports:
|
|
|
|
- 5000:5000
|
|
|
|
command:
|
2017-12-09 19:53:12 +01:00
|
|
|
["serve", "/etc/registry/config.yml"]
|
2016-08-08 10:40:14 +02:00
|
|
|
mysql:
|
2017-12-09 19:53:12 +01:00
|
|
|
image: vmware/harbor-db:__version__
|
2016-08-08 10:40:14 +02:00
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- /data/database:/var/lib/mysql
|
|
|
|
env_file:
|
2016-10-19 08:32:00 +02:00
|
|
|
- ./common/config/db/env
|
2016-08-08 10:40:14 +02:00
|
|
|
ports:
|
|
|
|
- 3306:3306
|
2017-01-12 11:29:02 +01:00
|
|
|
adminserver:
|
|
|
|
build:
|
|
|
|
context: ../
|
|
|
|
dockerfile: make/dev/adminserver/Dockerfile
|
|
|
|
env_file:
|
|
|
|
- ./common/config/adminserver/env
|
|
|
|
restart: always
|
|
|
|
volumes:
|
2017-04-07 03:14:41 +02:00
|
|
|
- /data/config/:/etc/adminserver/config/
|
2017-02-22 06:22:52 +01:00
|
|
|
- /data/secretkey:/etc/adminserver/key
|
2017-03-21 05:35:46 +01:00
|
|
|
- /data/:/data/
|
2017-01-12 11:29:02 +01:00
|
|
|
ports:
|
2017-11-08 14:22:00 +01:00
|
|
|
- 8888:8080
|