harbor/tests/docker-compose.test.yml

30 lines
692 B
YAML
Raw Normal View History

2016-08-08 10:40:14 +02:00
version: '2'
services:
registry:
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/
- /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"]
postgres:
image: goharbor/harbor-db:__version__
2016-08-08 10:40:14 +02:00
restart: always
volumes:
- /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:
- 5432:5432
redis:
image: goharbor/redis-photon:4.0
restart: always
volumes:
- /data/redis:/var/lib/redis
ports:
- 6379:6379