mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-18 18:18:23 -05:00
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:
parent
7532e5988a
commit
84cf95ff6e
1 changed files with 5 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue