2016-08-08 10:40:14 +02:00
|
|
|
version: '2'
|
|
|
|
services:
|
|
|
|
registry:
|
2016-12-15 04:32:21 +01:00
|
|
|
image: library/registry:2.5.1
|
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:
|
2016-08-31 06:12:22 +02:00
|
|
|
["serve", "/etc/docker/registry/config.yml"]
|
2016-08-08 10:40:14 +02:00
|
|
|
mysql:
|
2016-10-19 08:32:00 +02:00
|
|
|
build: ./common/db/
|
2016-08-08 10:40:14 +02:00
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- /data/database:/var/lib/mysql
|
|
|
|
env_file:
|
2016-10-19 08:32:00 +02:00
|
|
|
- ./common/config/db/env
|
2016-08-08 10:40:14 +02:00
|
|
|
ports:
|
|
|
|
- 3306:3306
|