mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-18 22:57:38 +01:00
1ae5126bb4
Signed-off-by: stonezdj <stonezdj@gmail.com>
29 lines
632 B
YAML
29 lines
632 B
YAML
version: '2'
|
|
services:
|
|
registry:
|
|
image: goharbor/registry-photon:__reg_version__
|
|
restart: always
|
|
volumes:
|
|
- /data/registry:/storage
|
|
- ./common/config/registry/:/etc/registry/
|
|
ports:
|
|
- 5000:5000
|
|
command:
|
|
["serve", "/etc/registry/config.yml"]
|
|
postgres:
|
|
image: goharbor/harbor-db:__version__
|
|
restart: always
|
|
volumes:
|
|
- /data/database:/var/lib/postgresql/data:z
|
|
env_file:
|
|
- ./common/config/db/env
|
|
ports:
|
|
- 5432:5432
|
|
redis:
|
|
image: goharbor/redis-photon:4.0
|
|
restart: always
|
|
volumes:
|
|
- /data/redis:/data
|
|
ports:
|
|
- 6379:6379
|