Closed ondics closed 1 year ago
Was anybody successful in renaming the containers? We need a solution for a proof of concept.
works. just remove the container_name:
and ensure the environment variables match the service names (e.g. for postgresql: CKAN_SQLALCHEMY_URL=postgresql://ckan:ckan@db/ckan
The services are explicitly named using
container_name:
.This is critical e.g. when deploying multiple CKAN stack on a single Docker system.
Proposal:
Either container names should be set by
.env
environment variablesor - even simpler -
we take the service names (instead of
container_name:
) and configure services which need to access a different service: