forked from maxmasetti/docker-compose-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
116 lines (110 loc) · 2.99 KB
/
docker-compose.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
services:
nexus:
image: sonatype/nexus3:3.69.0
restart: unless-stopped
ports:
- 8083:8081
- 8089:8888
environment:
- "NEXUS_CONTEXT=repository"
volumes:
- ./data/nexus-data:/nexus-data
nexus_aoc:
image: sonatype/nexus3:3.72.0
restart: unless-stopped
ports:
- 9083:8081
- 9089:8888
volumes:
- ./data/nexus-data-aoc:/nexus-data
zrok_repo:
image: openziti/zrok
restart: unless-stopped
user: "1001"
volumes:
- ${HOME}/.zrok:/.zrok
environment:
HOME: "/"
PFXLOG_NO_JSON: "true"
command: share reserved "aocrepo" --headless
links:
- nexus_aoc
zrok_registry:
image: openziti/zrok
restart: unless-stopped
user: "1001"
volumes:
- ${HOME}/.zrok:/.zrok
environment:
HOME: "/"
PFXLOG_NO_JSON: "true"
command: share reserved "aoccr" --headless
links:
- nexus_aoc
zrok_jabas_repo:
image: openziti/zrok
restart: unless-stopped
user: "1001"
volumes:
- ./zrok-jabas/.zrok:/.zrok:ro
environment:
HOME: "/"
PFXLOG_NO_JSON: "true"
command: share reserved "nexus" --headless --override-endpoint http://nexus_aoc:8081
links:
- nexus_aoc
zrok_jabas_registry:
image: openziti/zrok
restart: unless-stopped
user: "1001"
volumes:
- ./zrok-jabas/.zrok:/.zrok:ro
environment:
HOME: "/"
PFXLOG_NO_JSON: "true"
command: share reserved "registry" --headless --override-endpoint http://nexus_aoc:8888
links:
- nexus_aoc
registry_frontend_lcas:
image: klausmeyer/docker-registry-browser:latest
restart: unless-stopped
environment:
- 'DOCKER_REGISTRY_URL=http://nexus:8888'
- PUBLIC_REGISTRY_URL=lcas.lincoln.ac.uk
- 'SECRET_KEY_BASE=/AtOvCMBJedRBX+g'
- ENABLE_COLLAPSE_NAMESPACES=false
- ENABLE_DELETE_IMAGES=false
- SCRIPT_NAME=/docker-images
- RAILS_RELATIVE_URL_ROOT=/docker-images
ports:
- '9080:8080'
links:
- nexus
registry_frontend_lcas_private:
image: klausmeyer/docker-registry-browser:latest
restart: unless-stopped
# .env file example:
# BASIC_AUTH_USER=<NAME>
# BASIC_AUTH_PASSWORD=<TOKEN>
env_file:
- .env
environment:
- 'DOCKER_REGISTRY_URL=http://nexus:8888'
- PUBLIC_REGISTRY_URL=lcas.lincoln.ac.uk
- 'SECRET_KEY_BASE=/AtOvCMBJedRBX+g'
- ENABLE_COLLAPSE_NAMESPACES=false
- ENABLE_DELETE_IMAGES=true
links:
- nexus
registry_frontend_lcas_private_zrok:
image: openziti/zrok
restart: unless-stopped
user: "1001"
volumes:
- ${HOME}/.zrok:/.zrok
environment:
HOME: "/"
PFXLOG_NO_JSON: "true"
command: share reserved "lcasregistry" --headless --override-endpoint http://registry_frontend_lcas_private:8080
links:
- registry_frontend_lcas_private