forked from ekristen/docker-index
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fig.yml
45 lines (42 loc) · 880 Bytes
/
fig.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
redis:
image: dockerfile/redis
ports:
- 26379:6379
# volumes:
# - /data/redis:/registry/data
registry:
image: ekristen/docker-index-registry:0.9.0
ports:
- 5000:5000
environment:
- DEBUG=true
- STANDALONE=false
- LOGLEVEL=debug
- DISABLE_TOKEN_AUTH=false
- SETTINGS_FLAVOR=local
- INDEX_ENDPOINT=https://index.private.io
# volumes:
# - /tmp/registry:/data/registry
index:
build: .
ports:
- 5100:5100
environment:
- NODE_TLS_REJECT_UNAUTHORIZED=0
- REGISTRIES=registry.private.io
- DISABLE_NEW_ACCOUNTS=true
- NODE_ENV=docker
- LOG_LEVEL=debug
links:
- redis:redis
nginx:
image: ekristen/docker-index-nginx
environment:
- INDEX_HOSTNAME=index.private.io
- REGISTRY_HOSTNAME=registry.private.io
ports:
- 80:80
- 443:443
links:
- registry:registry
- index:index