Date: Thu, 28 Mar 2024 19:16:38 +0000 (UTC) Message-ID: <907246786.37.1711653398491@b0fbc1293a43> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_36_928343267.1711653398490" ------=_Part_36_928343267.1711653398490 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
https://youtu.be/e0nhczKMHhw<= /p>
This guide is valid for the installation of the new openIMIS version tog= ether with the REST API component.
To install openIMIS using Docker, you first need first to install Docker= on your computer/server. Please visit https://docs.docker.com/get-docker/ website to download and i= nstall the version that matches your OS.
Clone the https:= //github.com/openimis/openimis-dist_dkr on your machine into a new fold= er.
Create the .env
file from the .env.example<=
/code> and configure the environment variables according to the comments in=
the file. By default, PostgreSQL database is used.
On the same level as openimis-dist_dkr
directory, there sho=
uld be a conf
directory that is used for storing instance-spec=
ific configuration that will be reused if the docker containers are restart=
ed
If you use the demo docker 'db' service:
Build and start the docker compose: docker-compose up -d
If you prefer to use Microsoft SQL Server database: docker-compose=
-f docker-compose-mssql.yml up -d
Accept the Microsoft EULA (set the value of ACCEPT_EULA
to =
Y
, not required for PGSQL)
there is a docker-compose that support let=E2=80=99s encrypt certificate= s
first export NEW_OPENIMIS_HOST ,
docker-compose run --rm --entrypoint " certbot certonly --webroot -w /va= r/www/certbot --staging --register-unsafely-without-email -d ${NEW_OPENIMIS= _HOST} --rsa-key-size 2048 --agree-tos --force-renewal" certbot
docker-compose run --rm --entrypoint " certbot certonly --webroot -w /va= r/www/certbot --register-unsafely-without-email -d ${NEW_OPENIMIS_HOST} --r= sa-key-size 2048 --agree-tos --force-renewal" certbot
From within openimis-dist_dkr/windows
directory:
To stop all docker containers: docker-compose stop
&nbs=
p;
To (re-)start all docker containers: docker-compose start
To pull new images or images update `docker-compose pull`