Skip to content

Commit

Permalink
Create bridge network for mongo
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirRezaM75 committed Feb 27, 2024
1 parent 17b63c2 commit e46f93f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docker-compose-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ services:
volumes:
- mongodb-data:/data/db
networks:
- kenopsia-network
- default
- database-network
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGODB_USERNAME}
MONGO_INITDB_ROOT_PASSWORD: ${MONGODB_PASSWORD}
Expand All @@ -41,4 +42,7 @@ volumes:

networks:
kenopsia-network:
name: kenopsia-network
name: kenopsia-network
database-network:
external:
name: metabase-network

0 comments on commit e46f93f

Please sign in to comment.