2016-08-08 10:40:14 +02:00
|
|
|
version: '2'
|
|
|
|
services:
|
|
|
|
registry:
|
2017-03-15 08:32:31 +01:00
|
|
|
image: library/registry:2.6.0
|
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
|
2017-01-12 11:29:02 +01:00
|
|
|
adminserver:
|
|
|
|
build:
|
|
|
|
context: ../
|
|
|
|
dockerfile: make/dev/adminserver/Dockerfile
|
|
|
|
env_file:
|
|
|
|
- ./common/config/adminserver/env
|
|
|
|
restart: always
|
|
|
|
volumes:
|
2017-04-07 03:14:41 +02:00
|
|
|
- /data/config/:/etc/adminserver/config/
|
2017-02-22 06:22:52 +01:00
|
|
|
- /data/secretkey:/etc/adminserver/key
|
2017-03-21 05:35:46 +01:00
|
|
|
- /data/:/data/
|
2017-01-12 11:29:02 +01:00
|
|
|
ports:
|
2017-01-19 10:56:53 +01:00
|
|
|
- 8888:80
|