Skip to content

Commit

Permalink
[HotFix] Update configuration to connect to MongoDB Atlas
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnsugyeong committed May 25, 2024
1 parent 09e050c commit 99aa984
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 63 deletions.
29 changes: 0 additions & 29 deletions .ebextensions-dev/02-ebs-extend.config

This file was deleted.

18 changes: 0 additions & 18 deletions .ebextensions-dev/03-mount-ebs.config

This file was deleted.

11 changes: 0 additions & 11 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,13 @@ services:
ports:
- "6379:6379"

mongo:
image: mongo:latest
ports:
- "27017:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: admin
MONGO_INITDB_ROOT_PASSWORD: 12345678
volumes:
- /mnt/ebs/mongodb_data:/data/db

application:
image: 471112861132.dkr.ecr.ap-northeast-2.amazonaws.com/waggle-dev:latest
ports:
- "8080:8080"
depends_on:
- kafka
- redis
- mongo
env_file:
- .env

Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,5 @@ app:
uri: ${SERVER_URI}

mongodb:
client: mongodb://admin:12345678@mongo:27017/waggle?authSource=admin
name: waggle
client: ${MONGODB_CLIENT}
name: ${MONGODB_NAME}
3 changes: 0 additions & 3 deletions src/main/resources/application-mongo.yml

This file was deleted.

0 comments on commit 99aa984

Please sign in to comment.