Installation
Minimum docker version required: 20.10
- Download karnak repository
- Execute
generateSecrets.shto generate the secrets required by Karnak - Adapt all the *.env files if necessary
- Start docker-compose with Docker commands (or create docker-compose service)
Docker commands
Commands from the root of this repository.
- Update docker images (version defined into .env):
docker compose pull - Start:
docker compose up -d - Stop:
docker compose down - Stop and remove volume (reset all the data):
docker compose down -v - docker-compose logs:
docker compose logs -f
Secrets
You can generate the secrets with the generateSecrets.sh script available at the root of the karnak-docker repository (adapt the script to your system if necessary).
Note: These following secrets are stored in files and use the environment variables ending with _FILE (see ‘Environment variables’ below).
Before starting docker-compose make sure that the secrets folder and the following secrets exist:
karnak_login_passwordkarnak_postgres_password
Other installation pages
- Configuring Logs
Configure the logging system in Karnak
- Karnak as service
Create a systemd service for the Karnak DICOM gateway