Files
2024-04-10 15:37:10 +02:00

1.3 KiB

Usage

BE CAREFUL! THIS IS ALL WORK IN PROGRESS

unpack H1 release

  • unzip H1-CS-CM-RM.zip and move the files to file structure
  • hisinone |- .classpath |- .externalToolBuilders |- .project |- qisserver |- ROOT |- superx
  • create server.xml and catalina.properties and add them to folder
  • add Dockerfile to folder

check for existing image an delete it

docker image ls docker image rm -f

build new image from Dockerfile

docker build -t hisinone: .

push new image to registry

docker image tag distribution.his.de:5000/hisinone: hisinone: docker push distribution:5000/hisinone:

deployment

docker pull distribution.his.de:5000/hisinone: docker run -d --name -p 8080:8080 distribution.his.de:5000/hisinone:

to-do

  • add persistant volume config to Dockerfile to overwrite configuration
  • create docker-compose file
  • add postgresql container to docker-compose and link it with H1 container
  • create network for docker-compose / docker H1 environment
  • add apache/nginx container with config for H1 environment
  • convert H1 docker environment to kubernetes
  • add HA and cluster config for kubernetes H1 environment
  • rollout tests in kubernetes test cluster