Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
k3s-apiserver
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
3dc52a3e
authored
2022-06-21 16:16:47 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
No longer manage the registry via docker.
1 parent
c0d7f766
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
28 deletions
docker-compose.yaml
scripts/start-docker.sh
docker-compose.yaml
View file @
3dc52a3
...
...
@@ -184,37 +184,10 @@ services:
"
--with-node-id"
,
]
registry
:
image
:
registry:2
networks
:
default
:
aliases
:
-
${REGISTRY_ID?Please set REGISTRY_ID}.registry
nginx
:
ports
:
-
443
volumes
:
-
registry:/var/lib/registry
-
./certs/registry.crt:/certs/registry.crt:ro
-
./certs/registry.key:/certs/registry.key:ro
environment
:
-
VIRTUAL_HOST=${REGISTRY_ID?Please set REGISTRY_ID}.registry
-
VIRTUAL_PORT=443
-
VIRTUAL_PROTO=https
-
HTTPS_METHOD=noredirect
-
CERT_NAME=default
-
REGISTRY_HTTP_ADDR=0.0.0.0:443
-
REGISTRY_HTTP_TLS_CERTIFICATE=/certs/registry.crt
-
REGISTRY_HTTP_TLS_KEY=/certs/registry.key
volumes
:
etcd1-data
:
etcd2-data
:
etcd3-data
:
server
:
{}
output
:
{}
registry
:
external
:
true
name
:
${REGISTRY_VOLUME_NAME?Please set REGISTRY_VOLUME_NAME}
...
...
scripts/start-docker.sh
View file @
3dc52a3
...
...
@@ -21,7 +21,6 @@ case "$1" in
esac
"
$TOP_DIR
/scripts/ensure-certs.sh"
docker-compose -f
"
$TOP_DIR
/docker-compose.yaml"
up -d registry
"
$TOP_DIR
/scripts/wait-for-etcd.sh"
docker-compose -f
"
$TOP_DIR
/docker-compose.yaml"
up -d k3s-master-1
...
...
Please
register
or
sign in
to post a comment