Skip to content

Commit

Permalink
install MongoDB
Browse files Browse the repository at this point in the history
  • Loading branch information
did committed Sep 1, 2024
1 parent 46453cb commit 25e8537
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions config/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,19 @@ registry:
- DOCKER_REGISTRY_TOKEN

accessories:
mongodb:
image: mongodb/mongodb-community-server:7.0.12
roles:
- web
env:
secret:
- MONGO_INITDB_ROOT_USERNAME
- MONGO_INITDB_ROOT_PASSWORD
volumes:
- /var/lib/mongodb:/data/db
options:
network: "private"

redis:
image: redis:7.0
roles:
Expand Down Expand Up @@ -61,6 +74,8 @@ env:
- SCOUT_APM_KEY
- SENDGRID_USERNAME
- SENDGRID_PASSWORD
- MONGO_INITDB_ROOT_USERNAME
- MONGO_INITDB_ROOT_PASSWORD

# Use a different ssh user than root
# ssh:
Expand Down

0 comments on commit 25e8537

Please sign in to comment.