django-stars / backend-skeleton

108 stars 41 forks source link

Update `docker-compose.yml` to use hyphen in all resources names instead of underscore #82

Closed denys-chura closed 3 weeks ago

denys-chura commented 3 weeks ago

I noticed that if project_slug containt underscores, then names of docker resources is not consistend because containter names use hyphen as separator (e.g. ds_skeleton_sandbox-celery-beat), so I decied to improve that.

Change list

Unfortunately due to backward incompatibility reasons in https://github.com/compose-spec/compose-go/pull/294 networks and volumes still will have underscore between "name" prefix and resource name itself (e.g. ds-skeleton-sandbox_pg-data). But I think names are more consistent this way anyway.