You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
303 B

---
services:
app:
build: .
ports:
- "8080:8080"
environment:
MONGO_URL: mongodb://${USER}:${PASS}@mongo:27017/
mongo:
image: mongo
environment:
MONGO_INITDB_ROOT_USERNAME: ${USER}
MONGO_INITDB_ROOT_PASSWORD: ${PASS}
volumes:
- ./data:/data/db