Skip to content

Commit 0adfa41

Browse files
committed
feat: postgres db added
1 parent 82d6725 commit 0adfa41

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docker-compose.yml

Lines changed: 18 additions & 0 deletions
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+
restart: always
8+
environment:
9+
POSTGRES_USER: ${POSTGRES_USER}
10+
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
11+
POSTGRES_DB: ${DATABASE_NAME}
12+
ports:
13+
- "5433:5432"
14+
volumes:
15+
- postgres_data:/var/lib/postgresql/data
16+
17+
volumes:
18+
postgres_data:

0 commit comments

Comments
 (0)