1. 18 Apr, 2021 3 commits
    • Éloïs's avatar
      Merge branch 'pini-1' into dev · 2c8c46e3
      Éloïs authored
      2c8c46e3
    • Gilles Filippini's avatar
      [doc] use: update doc for docker image · dfc97d59
      Gilles Filippini authored
      dfc97d59
    • Gilles Filippini's avatar
      [build] docker: add entrypoint script · fd0bbe67
      Gilles Filippini authored
      First of all, this script moves the duniter configuration file 'conf.json'
      into the '/etc/duniter' volume, so that one could delete the '/var/lib/duniter'
      volume without losing the configuration.
      
      A symbolic link is set up into /var/lib/duniter/duniter_default to point to
      the new path:
       /var/lib/duniter/duniter_default/conf.json -> /etc/duniter/conf.json
      
      Then, this script enables the folowing environment variables:
      
      * DUNITER_MANUAL_CONFIG (boolean, default = false)
      
        When set to 'true' (or 'yes', or '1'), the script waits until the file
        '/etc/duniter/conf.json.orig' is present before starting the duniter
        service. Here is the workflow when enabled:
        1. wait for '/etc/duniter/conf.json.orig'
        2. if this file was changed since the previous startup:
          2.1. Save 'conf.json' to 'conf.json.old'
          2.2. Replace 'conf.json' with 'conf.json.orig'
          2.3. Save the new file's checksum to compare with at next startup
        3. continue the startup sequence
      
        When set to f...
      fd0bbe67
  2. 17 Apr, 2021 1 commit
  3. 16 Apr, 2021 1 commit
  4. 04 Apr, 2021 3 commits
  5. 03 Apr, 2021 4 commits
  6. 02 Apr, 2021 4 commits
  7. 01 Apr, 2021 3 commits
  8. 26 Mar, 2021 1 commit
  9. 24 Mar, 2021 3 commits
  10. 22 Mar, 2021 2 commits
  11. 20 Mar, 2021 15 commits