1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00

backend production env, database user, unbind db's ports to host

This commit is contained in:
Ricardo Hernandez-Montoya 2017-05-31 11:24:01 +02:00
parent ee9924e023
commit 013a0b2122

View file

@ -15,13 +15,13 @@ services:
build: VILLASweb-backend
links:
- database
environment:
- NODE_ENV=production
ports:
- "4000:4000"
database:
image: mongo:latest
user: mongodb
volumes:
- /opt/database:/data/db
ports:
- "27017:27017"