daster/database/docker-compose.yml

18 lines
475 B
YAML

services:
postgres:
image: registry.zhirov.kz/postgresql-15.3:alpine-3.18.0-amd64
container_name: postgres-asterisk
restart: always
environment:
POSTGRES_DB: asterisk
POSTGRES_USER: asterisk
POSTGRES_PASSWORD: asterisk
PGTZ: Europe/Moscow
TZ: Europe/Moscow
ports:
- 5432:5432
volumes:
- ./volumes-data:/var/lib/postgresql/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro