2016-08-08 10:40:14 +02:00
|
|
|
version: '2'
|
|
|
|
services:
|
|
|
|
registry:
|
2018-08-10 08:16:59 +02:00
|
|
|
image: goharbor/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/
|
2019-10-14 12:25:11 +02:00
|
|
|
- /etc/core/ca/ca.crt:/etc/registry/root.crt
|
2016-08-08 10:40:14 +02:00
|
|
|
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:
|
2018-08-10 08:16:59 +02:00
|
|
|
image: goharbor/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
|
2018-03-28 08:54:41 +02:00
|
|
|
redis:
|
2018-08-10 08:16:59 +02:00
|
|
|
image: goharbor/redis-photon:4.0
|
2018-03-28 08:54:41 +02:00
|
|
|
restart: always
|
|
|
|
volumes:
|
2019-12-11 12:11:20 +01:00
|
|
|
- /data/redis:/var/lib/redis
|
2018-03-28 08:54:41 +02:00
|
|
|
ports:
|
|
|
|
- 6379:6379
|