Explicitly name Postgres container volume (#33954)

* Explicitly name Postgres container volume

* Remove unused server/docker-compose.yaml

This file doesn't seem to actually be used. When we run docker compose locally,
it uses docker-compose.makefile.yml merged with the output of
build/docker-compose-generator/main.go.

* Revert "Remove unused server/docker-compose.yaml"

This reverts commit 5a45965217.

* Update volume name
This commit is contained in:
Harrison Healey 2025-10-02 09:29:00 -04:00 committed by GitHub
parent 7532e5988a
commit 84cf95ff6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,6 +4,8 @@ services:
container_name: mattermost-postgres
ports:
- "5432:5432"
volumes:
- "postgres-14-data:/var/lib/postgresql/data"
extends:
file: build/docker-compose.common.yml
service: postgres
@ -113,3 +115,6 @@ networks:
config:
- subnet: 192.168.254.0/24
ip_range: 192.168.254.0/24
volumes:
postgres-14-data: