Administration #581

Improve docker container structure

Added by Alexander Blum over 3 years ago. Updated 6 months ago.

Status:ErledigtStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-Estimated time:5.00 h
Target version:Repertoire 3) Testing phase III

Description

The docker containers should be reworked.

  • Currently it's just a chain, dependencies should be more separated
  • On the other hand there should be a base for all services (python stuff, click, proteus, winpdb)
    • Especially intalling winpdb only once should cut the building time quite much (seems to be the most time intensive part)
  • Multiple pip definitions of the same packages are prone to errors during an upgrade
  • Envvars are set both in Dockerfile and in .env Files, all should be in .env Files (if possible)
  • I'm not sure about the dependancies of trytond, but I assume, portal does not need to be based on tryton at all

Proposal:

  • nginx <- import
  • db <- import
  • base (build essentials, ssl stuff, python, and an editor pls :))
    • tryton
    • portal
      • api
    • standalone (e.g. proteus, cron, etc)
      • processing
      • archiving

History

#1 Updated by Alexander Blum over 3 years ago

  • Estimated time set to 3.00

#2 Updated by Alexander Blum over 3 years ago

  • Estimated time changed from 3.00 to 5.00

#3 Updated by Alexander Blum about 3 years ago

os should be switched from debian jessie to stretch

#4 Updated by Alexander Blum about 2 years ago

  • Target version changed from 3) Testing phase III to Repertoire 3) Testing phase III

#5 Updated by Alexander Blum about 2 years ago

  • Project changed from repertoire to collecting_society

#6 Updated by Alexander Blum 6 months ago

  • Status changed from Neu to Erledigt

Also available in: Atom PDF