33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
[Container]
|
|
AutoUpdate=registry
|
|
ContainerName=mattermost-db
|
|
Environment="POSTGRES_DB=mattermost"
|
|
Environment="POSTGRES_INITDB_ARGS=--data-checksums"
|
|
Environment="POSTGRES_PASSWORD=mmuser_password"
|
|
Environment="POSTGRES_USER=mmuser"
|
|
Image=docker.io/postgres:13-alpine
|
|
# Network=immich.network
|
|
# Pod=immich.pod
|
|
PublishPort=5436:5432
|
|
Volume=mattermost-db-data.volume:/var/lib/postgresql/data
|
|
|
|
[Service]
|
|
Restart=no
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target default.target
|
|
|
|
# podman pull docker.io/postgres:13-alpine
|
|
# systemctl --user daemon-reload
|
|
# systemctl --user start mattermost-db
|
|
# systemctl --user status mattermost-db
|
|
# journalctl -fu mattermost-db.service
|
|
# podman logs mattermost-db
|
|
# systemctl --user stop mattermost-db
|
|
# systemctl --user disable mattermost-db
|
|
# podman exec -ti mattermost-db /bin/sh
|
|
# podman exec -ti mattermost-db /bin/bash
|
|
# Image=docker.io/library/postgres:16
|
|
# podman pull docker.io/library/postgres:16
|
|
# file: 'extension.c', line: '543', routine: 'parse_extension_control_file'
|
|
# https://github.com/immich-app/immich/discussions/6792 |