Excerpt | |||||||
---|---|---|---|---|---|---|---|
Install Docker Desktop Because the legacy is working only on Windows, the following refers to a docker on windows 10 or windows server 2016 (or newer) In order to install the modular openIMIS using Docker, you first need to install Docker Desktop. Please download and install the platform from the Docker Desktop website. then make sure to use windows container (Docker image operating system "windows" cannot be used on this platform ) Download openIMIS Docker script Download and unzip the release from Github openimis-dist_dkr repository into a new folder. First startup The first startup is special since it will create the necessary docker images and containers to run openIMIS. To build necessary, docker images, docker-compose relies on local docker files. In order to build these images, you need to clone, next to
Or clone the 5 directory with git
From within
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
remove the comment for the db
service in the docker-compose.yml file (lines 4 to 13)
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
register a letsencrypt certificate for your openIMIS gateway
...
list running containers and spot the gateway: docker container ls
(the gateway should be named openimis-gateway
)
...
register your openIMIS superuser in the gateway:
list running containers and spot the gateway:
docker container ls
(the gateway should be namedopenimis-gateway
)connect to the gateway:
docker exec -it <CONTAINER ID> /bin/sh
(sh and not bash)you should be in /script directory, if not, just
cd /script
)in the gateway container, register your openIMIS superuser:
./add-user.sh <SUPERUSER_NAME> <SUPER_USER_PASSWORD>
Notes:same procedure (add-user.sh) must be followed to add external applications accesses
in
/script
, there are alsoremove-user.sh
andupdate-user.sh
|
...
issue the command install-certificate.sh
and follow the setup wizard (provide contact address,
stop /startFrom within |
...
Note:
|