Skip to content

Commit

Permalink
feat: Added docker compose and build image with mongo image
Browse files Browse the repository at this point in the history
  • Loading branch information
kdhttps committed May 22, 2020
1 parent 4471421 commit cb25d3b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const environment = {
opServerExtraParamsInAuthRequest: {
audience: 'https://kdhttps.auth0.com/api/v2/'
},
redirectURI: 'http://localhost:4200/callback',
redirectURI: 'http://localhost:3000/callback',
scope: 'openid email profile',
};

Expand Down
23 changes: 23 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: "3.7"
networks:
mean-net:
driver: bridge
services:
mean:
networks:
- mean-net
environment:
PRODUCTION: "true"
PORT: 3000
DB_URL: mongodb://mongo:27017/mean
build: .
ports:
- "3000:3000"
depends_on:
- mongo
mongo:
image: mongo
networks:
- mean-net
ports:
- "27017:27017"

0 comments on commit cb25d3b

Please sign in to comment.