Skip to content

Commit 7b3ff79

Browse files
committed
Created docker-compose
1 parent 1886df7 commit 7b3ff79

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docker-compose.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: '3.8'
2+
3+
services:
4+
postgres:
5+
image: postgres:latest
6+
container_name: postgres-container
7+
environment:
8+
POSTGRES_USER: admin
9+
POSTGRES_PASSWORD: admin
10+
POSTGRES_DB: testdb
11+
ports:
12+
- "5432:5432"
13+
networks:
14+
- postgres-network
15+
16+
networks:
17+
postgres-network:
18+
driver: bridge

0 commit comments

Comments
 (0)