self-host icon indicating copy to clipboard operation
self-host copied to clipboard

Docker Compose project name not set

Open kc9jud opened this issue 2 years ago • 3 comments

Docker Compose defaults to the basename of the project directory if no project name is set. Here, that means the project is simply called docker. This shows up in, for example, the output of docker compose ls and the name of the networks created. This should be set to bitwarden instead.

kc9jud avatar Mar 18 '22 15:03 kc9jud

See comment on https://github.com/bitwarden/self-host/pull/15

joseph-flinn avatar Apr 11 '22 15:04 joseph-flinn

I think this is still not fixed, despite the problems with #15. At minimum, Bitwarden should not be creating networks with names like docker_default.

kc9jud avatar Apr 11 '22 18:04 kc9jud

I think this is still not fixed, despite the problems with #15. At minimum, Bitwarden should not be creating networks with names like docker_default.

I was also confounded by this when attempting a self-hosted install initially, but was able to work around it by creating a "docker-compose.override.yml" file in ./bwdata/docker which contains:

version: '3'

networks:
  default:
    name: bitwarden_internal
  public:
    name: bitwarden_public

vipergts450 avatar Jan 03 '23 01:01 vipergts450