This commit is contained in:
JMARyA 2024-05-03 08:47:40 +02:00
parent 6d43193959
commit d042430f0c
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
4 changed files with 95 additions and 37 deletions

View file

@ -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