mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-30 06:03:45 +01:00
f44ff2e4c3
This env is the workaroud of dns resolver on golang 1.7.3. Remove it is bacause of harbor is using golang 1.9.2, the bug has already been fixed. Signed-off-by: wang yan <wangyan@vmware.com>
40 lines
928 B
YAML
40 lines
928 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
|
|
adminserver:
|
|
image: goharbor/harbor-adminserver:__version__
|
|
env_file:
|
|
- ./common/config/adminserver/env
|
|
restart: always
|
|
volumes:
|
|
- /data/config/:/etc/adminserver/config/
|
|
- /data/secretkey:/etc/adminserver/key
|
|
- /data/:/data/
|
|
ports:
|
|
- 8888:8080
|
|
redis:
|
|
image: goharbor/redis-photon:4.0
|
|
restart: always
|
|
volumes:
|
|
- /data/redis:/data
|
|
ports:
|
|
- 6379:6379
|