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
Update name by replacing _ with - so that the prefix for resources names uses a hyphen;
Update volumes names to use hyphen.
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.
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
name
by replacing_
with-
so that the prefix for resources names uses a hyphen;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.