1. 01 Mar, 2022 2 commits
  2. 24 Feb, 2022 1 commit
  3. 26 Dec, 2021 1 commit
    • Kevin Daudt's avatar
      generate_secdb: use flock instead of nq · ccc17fa3
      Kevin Daudt authored
      The goal of nq was to make sure only one instance of the update script
      was running. The problem is that nq does not write the log output to
      stdout, but rather to dedicated files. This makes it harder to see the
      output with docker(-compose) logs.
      
      Use `flock`, which is meant for these scenarios and provides the output
      of the script to stdout.
      ccc17fa3
  4. 25 Jun, 2021 4 commits
  5. 08 Jun, 2021 1 commit
  6. 28 Apr, 2021 1 commit
    • Kevin Daudt's avatar
      merge: implement secdb in go · c185a956
      Kevin Daudt authored
      This implementation does not suffer from the issue that lua has, where it
      cannot distinguish from an empty list and an empty array, without having to
      resort to post processing to fix issues.
      
      See merge request !4
      c185a956
  7. 27 Apr, 2021 3 commits
    • Kevin Daudt's avatar
      compose: split production settings from app settings · 2a6744d0
      Kevin Daudt authored
      Things like traefik, and the webnetwork are production settings. Put
      those settings in a separate file that can be symlinked to
      `docker-compose.override.yml` on the production host.
      2a6744d0
    • Kevin Daudt's avatar
      docker: switch to go secdb implementation · 59fd3d46
      Kevin Daudt authored
      Build the go secdb application and adopt generate_secdb.sh to run it.
      59fd3d46
    • Kevin Daudt's avatar
      secdb: add go implementation · 83c37f5c
      Kevin Daudt authored
      Lua has just a single structure, namely a table, which is used for both
      lists and maps. This poses a problem when a list is empty, because it's
      not able to distinguish between the 2, and will default to a map.
      
      This implementation:
      
      * Defines the exact structure
      * Writes out json and yaml at the same time
      * Fetches release, instead of statically defining it in-line
      
      And because it's statically built, has no dependencies except musl.
      
      See: #2
      83c37f5c
  8. 01 Feb, 2021 1 commit
  9. 27 Jan, 2021 1 commit
  10. 05 Jun, 2020 3 commits
  11. 21 Feb, 2020 9 commits
  12. 19 Feb, 2020 2 commits