diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f3622c6..5920b38 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 diff --git a/config/deploy.yml b/config/deploy.yml index 1b8a09e..6cab0a2 100644 --- a/config/deploy.yml +++ b/config/deploy.yml @@ -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: @@ -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: