initial commit
All checks were successful
Build k8s-mgmt-pod image / Build & Push (push) Successful in 2m21s
All checks were successful
Build k8s-mgmt-pod image / Build & Push (push) Successful in 2m21s
This commit is contained in:
commit
4dbcde381f
20 changed files with 1151 additions and 0 deletions
20
docker-compose.yaml
Normal file
20
docker-compose.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
services:
|
||||
k8s-mgmt-pod:
|
||||
image: k8s-mgmt-pod:local
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: k8s-mgmt-pod
|
||||
ports:
|
||||
- "${HOST_SSH_PORT:-2222}:22"
|
||||
- "${HOST_WEBSSH_PORT:-3000}:3000"
|
||||
environment:
|
||||
ADMIN_PASSWORD: ${ADMIN_PASSWORD:-change-this-admin-password}
|
||||
USER_PASSWORD: ${USER_PASSWORD:-change-this-user-password}
|
||||
ADMIN_SSH_PUBKEY: ${ADMIN_SSH_PUBKEY:-}
|
||||
USER_SSH_PUBKEY: ${USER_SSH_PUBKEY:-}
|
||||
ENABLE_BOOTSTRAP_KUBECONFIG: ${ENABLE_BOOTSTRAP_KUBECONFIG:-true}
|
||||
BOOTSTRAP_KUBECONFIG: /bootstrap/kubeconfig/config
|
||||
volumes:
|
||||
- ${HOME}/.kube:/bootstrap/kubeconfig:ro
|
||||
restart: unless-stopped
|
||||
Loading…
Add table
Add a link
Reference in a new issue