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"]
|
2018-04-27 11:27:12 +02:00
|
|
|
postgres:
|
2017-12-09 19:53:12 +01:00
|
|
|
image: vmware/harbor-db:__version__
|
2016-08-08 10:40:14 +02:00
|
|
|
restart: always
|
|
|
|
volumes:
|
2018-04-27 11:27:12 +02:00
|
|
|
- /data/database:/var/lib/postgresql/data:z
|
2016-08-08 10:40:14 +02:00
|
|
|
env_file:
|
2016-10-19 08:32:00 +02:00
|
|
|
- ./common/config/db/env
|
2016-08-08 10:40:14 +02:00
|
|
|
ports:
|
2018-04-27 11:27:12 +02:00
|
|
|
- 5432:5432
|
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
|
2018-03-28 08:54:41 +02:00
|
|
|
redis:
|
|
|
|
image: vmware/redis-photon:4.0
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- /data/redis:/data
|
|
|
|
ports:
|
|
|
|
- 6379:6379
|