add directory keys

This commit is contained in:
NyxiumYuuki 2021-05-29 16:03:58 +02:00
parent d79a8fd735
commit 3aaddde24e

View file

@ -24,6 +24,7 @@ services:
volumes: volumes:
- backend/service-authentication - backend/service-authentication
- backend/service-authentication/node_modules - backend/service-authentication/node_modules
- backend/service-authentication/keys
ports: ports:
- 3000:3000 - 3000:3000
depends_on: depends_on:
@ -53,7 +54,7 @@ services:
image: mongo image: mongo
container_name: mongodb-authentication container_name: mongodb-authentication
volumes: volumes:
- ./backend/service-authentication/database:/data/db - ./backend/service-authentication/database:/data/db-authentication
ports: ports:
- 27017:27017 - 27017:27017
@ -61,6 +62,6 @@ services:
image: mongo image: mongo
container_name: mongodb-message container_name: mongodb-message
volumes: volumes:
- ./backend/service-message/database:/data/db - ./backend/service-message/database:/data/db-message
ports: ports:
- 27020:27017 - 27020:27017