work
This commit is contained in:
parent
6d43193959
commit
d042430f0c
4 changed files with 95 additions and 37 deletions
|
@ -1,15 +1,15 @@
|
|||
version: '3'
|
||||
services:
|
||||
cdb:
|
||||
build: .
|
||||
ports:
|
||||
- "8080:8080"
|
||||
depends_on:
|
||||
- mongodb
|
||||
volumes:
|
||||
- ./itemdb:/itemdb
|
||||
environment:
|
||||
- "DB_URI=mongodb://user:pass@mongodb:27017"
|
||||
# cdb:
|
||||
# build: .
|
||||
# ports:
|
||||
# - "8080:8080"
|
||||
# depends_on:
|
||||
# - mongodb
|
||||
# volumes:
|
||||
# - ./itemdb:/itemdb
|
||||
# environment:
|
||||
# - "DB_URI=mongodb://user:pass@mongodb:27017"
|
||||
|
||||
mongodb:
|
||||
image: mongo:latest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue