Skip to content

Commit d7fe35b

Browse files
committed
chore: add dummy dockercompose
Signed-off-by: krishna2803 <kpandey81930@gmail.com>
1 parent f5b201c commit d7fe35b

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docker-compose.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
services:
2+
app:
3+
build: .
4+
ports:
5+
- "5050:5050"
6+
depends_on:
7+
- db
8+
environment:
9+
- env
10+
11+
db:
12+
image: postgres:alpine
13+
volumes:
14+
- postgres_data:/var/lib/postgresql/data
15+
environment:
16+
- POSTGRES_USER=${DB_USER}
17+
- POSTGRES_PASSWORD=${DB_PASS}
18+
- POSTGRES_DB=${DB_NAME}
19+
20+
volumes:
21+
postgres_data:

0 commit comments

Comments
 (0)