Skip to content

Commit

Permalink
MONGO_INITDB_ROOT_USERNAME is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
did committed Sep 1, 2024
1 parent 905fce6 commit 8a711b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
DRAGONFLY_SECRET_KEY: ${{ secrets.DRAGONFLY_SECRET_KEY }}

MONGODB_URI: ${{ secrets.MONGODB_URI }}
MONGO_INITDB_ROOT_USERNAME: ${{ secrets.MONGO_INITDB_ROOT_USERNAME }}
MONGO_INITDB_ROOT_PASSWORD: ${{ secrets.MONGO_INITDB_ROOT_PASSWORD }}
MONGODB_INITDB_ROOT_USERNAME: ${{ secrets.MONGODB_INITDB_ROOT_USERNAME }}
MONGODB_INITDB_ROOT_PASSWORD: ${{ secrets.MONGODB_INITDB_ROOT_PASSWORD }}

NEW_RELIC_LICENSE_KEY: ${{ secrets.NEW_RELIC_LICENSE_KEY }}
NEW_RELIC_LOG: stdout
Expand Down
10 changes: 5 additions & 5 deletions config/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ registry:

accessories:
mongodb:
image: mongodb/mongodb-community-server:7.0.12
image: mongodb/mongodb-community-server:7.0.12-ubuntu2204
roles:
- web
env:
secret:
- MONGO_INITDB_ROOT_USERNAME
- MONGO_INITDB_ROOT_PASSWORD
- MONGODB_INITDB_ROOT_USERNAME
- MONGODB_INITDB_ROOT_PASSWORD
volumes:
- /var/lib/mongodb:/data/db
options:
Expand Down Expand Up @@ -74,8 +74,8 @@ env:
- SCOUT_APM_KEY
- SENDGRID_USERNAME
- SENDGRID_PASSWORD
- MONGO_INITDB_ROOT_USERNAME
- MONGO_INITDB_ROOT_PASSWORD
- MONGODB_INITDB_ROOT_USERNAME
- MONGODB_INITDB_ROOT_PASSWORD

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

0 comments on commit 8a711b2

Please sign in to comment.