Docker Compose

Use the latest tagged container from docker hub

Add secure-reporter as part of the docker docker-compose.yml file:

Example docker compose file

secure-reporter:
  image: martlark/secure-reporter:latest
  ports:
    - "8003:80"
  volumes:
    - ./persist:/persist
  environment:
    CLIENT_SECRETS_JSON: "/persist/client_secrets.json"
    TOKEN_NAME: "api.user"
    TOKEN_KEY: "secret"
    DATABASE_URL: "sqlite:////persist/app.db?check_same_thread=False"
  restart: unless-stopped
  log_opt:
    max-size: 1g

Set the appropriate values for the database URLs. In this example a local sqlite DB is used to store reports.

Start the secure-reporter

docker-compose up -d –build secure-reporter

Access at hostname:800, in this example.