---
title: Auditum
slug: release-notes-en/auditum
docTags: 
createdAt: 2024-10-10T13:48:24.062Z
---

For system auditing, installation of [Auditum](https://auditum.io/) is required. After installing the Docker image (`auditumio/auditum:0.3.0`), ensure the following steps are completed:

1. **Database and user creation**: The information will be passed to the container via environment variables, so the names aren't mandatory.
2. **Run migrations**: Inside the container, execute the command `/usr/local/bin/auditum migrate`.
3. **Port configuration**: Ensure ports 8080 and 9090 are exposed and accessible to other services.

```dockerfile
auditum:
    image: auditumio/auditum:0.3.0
    environment:
      AUDITUM_store_type: postgres
      AUDITUM_store_postgres_host: postgres
      AUDITUM_store_postgres_port: 5432
      AUDITUM_store_postgres_database: auditum  #(criar banco)
      AUDITUM_store_postgres_username: "auditum"
      AUDITUM_store_postgres_password: "auditum"
      AUDITUM_store_postgres_sslmode: disable
      AUDITUM_store_postgres_logQueries: true  #(opcional)
    entrypoint: /bin/sh
    command: -c "/usr/local/bin/auditum migrate && /usr/local/bin/auditum serve" #(roda as migrations)
    depends_on:
      - postgres
    ports:
      - 8000:8080
      - 9000:9090
```

