daster/database/docker-compose.yml

24 lines
543 B
YAML
Raw Permalink Normal View History

2023-05-29 14:40:53 +00:00
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
networks:
- db_net
2023-05-29 14:40:53 +00:00
ports:
- 5432:5432
volumes:
- ./volumes-data:/var/lib/postgresql/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
networks:
db_net:
name: db_net