lots of things

This commit is contained in:
2019-11-14 16:16:31 +01:00
parent 73b587d23d
commit 19b5488d22
11 changed files with 88 additions and 2 deletions

View File

@@ -1,6 +1,20 @@
version: '3.7'
services:
client:
build:
context: ./services/client
dockerfile: services/client/Dockerfile-prod
volumes:
- './services/client:/usr/src/app'
- '/usr/src/app/node_mdules'
ports:
- 3007:3000
environment:
- NODE_ENV=development
- REACT_APP_USERS_SERVICE_URL=${REACT_APP_USERS_SERVICE_URL}
depends_on:
- users
users:
build:
context: ./services/users
@@ -34,4 +48,5 @@ services:
- "80:80"
depends_on:
- users
- client