Skip to content

Conversation

@azmeuk
Copy link
Member

@azmeuk azmeuk commented Aug 26, 2025

Je fous ça en draft, ça m'aide à visualiser le diff.

azmeuk added 30 commits June 26, 2025 16:14
avoid explicit looping on entrypoints to know if services are ready,
and let Docker handle the checks itself with the containers HEALTHCHECKs
- docker initialization marker is the creation of a .initialized file
  instead of detecting if the database has been created or not
- make createDb file cleaning is error-proof and can be executed
  multiple times in parallel
- collectstatic logs are quieter
- the default documentation advise to rely on the POD_INSTANCE
  environment var to discriminate ES_INDEX, caches and redis session
  prefix
- docker pod entrypoints rely on the POD_INSTANCE en var to detect the
  right .initialized file
- docker pod entrypoints rely on the POD_PORT en var to run the app on
  dedicated port
- the 'Site' object is not statically initialized with
  initial_data.json, but dynamically in main/apps.py
- the celery queues use the POD_INSTANCE var as keyprefixes
- the default database is named after POD_INSTANCE if available
- docker initialization marker is the creation of a .initialized file
  instead of detecting if the database has been created or not
- make createDb file cleaning is error-proof and can be executed
  multiple times in parallel
- collectstatic logs are quieter
- the default documentation advise to rely on the POD_INSTANCE
  environment var to discriminate ES_INDEX, caches and redis session
  prefix
- docker pod entrypoints rely on the POD_INSTANCE en var to detect the
  right .initialized file
- docker pod entrypoints rely on the POD_PORT en var to run the app on
  dedicated port
- the 'Site' object is not statically initialized with
  initial_data.json, but dynamically in main/apps.py
- the celery queues use the POD_INSTANCE var as keyprefixes
- the default database is named after POD_INSTANCE if available
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants