Skip to content
Snippets Groups Projects
Commit 3b8c49ed authored by abdu's avatar abdu
Browse files

add todo-network to mongo container

parent 0b339f56
Branches CreateTemplates
No related tags found
No related merge requests found
...@@ -20,6 +20,8 @@ services: ...@@ -20,6 +20,8 @@ services:
# virtual drive for storage of the db between reboots # virtual drive for storage of the db between reboots
volumes: volumes:
- ./data/db:/data/db - ./data/db:/data/db
networks:
- todo-network
# backend stuff # backend stuff
backend: backend:
......
package com.cloudcomputing.todo.controller; package com.cloudcomputing.todo.controller;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
@Controller @Controller
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment