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:
parent
ee9924e023
commit
013a0b2122
1 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue