mirror of
https://github.com/Dannecron/netology-devops.git
synced 2025-12-26 07:42:36 +03:00
add homework 6.4: tasks 1-3
This commit is contained in:
19
src/homework/06-database/6.4/docker-compose.yml
Normal file
19
src/homework/06-database/6.4/docker-compose.yml
Normal 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:
|
||||
Reference in New Issue
Block a user