база данных
This commit is contained in:
commit
ca5259c638
4 changed files with 83 additions and 0 deletions
17
database/docker-compose.yml
Normal file
17
database/docker-compose.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue