@@ -7,6 +7,7 @@ Thumbs.db
startRedis.cmd
startMongo.cmd
.database
+.redis
dump.rdb
npm-debug.log
@@ -1,30 +0,0 @@
-version: '2'
-services:
- backend:
- build: ./backend
- ports:
- - "8081:8081"
- volumes:
- - ./backend:/opt/app
- links:
- - mongo
- - redis
- environment:
- - NGINX_PORT=81
- frontend:
- build: ./frontend
- - "81:81"
- - ./frontend:/opt/app
- mongo:
- image: mongo
- - "27017:27017"
- mongoclient:
- image: mongoclient/mongoclient
- - "3000:3000"
- redis:
- image: redis
- command: "--notify-keyspace-events Ex"
@@ -26,4 +26,8 @@ services:
- "3000:3000"
redis:
image: redis
+ command: "--notify-keyspace-events Ex --requirepass ${REDIS_PASSWORD}"
+ volumes:
+ - .redis:/data
+ ports:
+ - "6371:6371"