Skip to content

Commit

Permalink
make a seperate network
Browse files Browse the repository at this point in the history
Signed-off-by: Darshan Kumar <[email protected]>
  • Loading branch information
itsdarshankumar committed Feb 14, 2024
1 parent c877fe6 commit 860ae32
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,21 @@ services:
volumes:
- db-data:/var/lib/postgresql/data
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
ports:
- "9899:5432"
networks:
- nymeria-network
app:
container_name: nymeria-app
build: .
ports:
- "9898:9898"
depends_on:
- db
networks:
- nymeria-network

volumes:
db-data:
name: nymeria-db

networks:
nymeria-network:

0 comments on commit 860ae32

Please sign in to comment.