Skip to content

Commit c6b07b3

Browse files
authored
Merge pull request #3 from Dev-Code-Community/backend
docker compose file #2
2 parents 7cd1f5b + 31f3245 commit c6b07b3

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docker-compose.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: '3.8'
2+
3+
services:
4+
postgres:
5+
image: postgres:latest
6+
container_name: postgres-nexus
7+
environment:
8+
POSTGRES_USER: postgres
9+
POSTGRES_PASSWORD: password
10+
POSTGRES_DB: events_db
11+
volumes:
12+
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
13+
ports:
14+
- "5432:5432"
15+
16+
volumes:
17+
postgres_data:

0 commit comments

Comments
 (0)