add homework 6.4: tasks 1-3

This commit is contained in:
2022-06-02 10:54:44 +07:00
parent 7870726c8c
commit c7a639e42c
5 changed files with 325 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
---
version: '3.8'
services:
postgres:
image: postgres:13.5-alpine
environment:
POSTGRES_USER: admin
POSTGRES_PASSWORD: 123
POSTGRES_DB: test_database
PGDATA: /var/lib/postgresql/data/pgdata
ports:
- "25432:5432"
volumes:
- netology_pgdata:/var/lib/postgresql/data/pgdata
- ./dump:/opt/dump
volumes:
netology_pgdata: