- Setup infisical secrets and link to fly project.
- Follow the instructions in dockerfile and enable initial setup command while commenting out the one mentioned below it.
- Deploy on fly using
fly deploy -c fly.[environment].toml
- SSH into the machine using
fly ssh console -c fly.[environment].toml
- Run the following commands
mongosh use admin db.createUser({ user: "<username>", pwd: "<password>", roles: [{ role: "userAdminAnyDatabase", db: "admin"}, "readWriteAnyDatabase" ]}) exit exit
- Comment out the initial setup instructions from dockerfile and restore the other line.
- Deploy again on fly using
fly deploy -c=fly.[environment].toml --no-cache
- Your connection string to use now is:
mongodb://<username>:<password>@<host>:27017/?directConnection=true&serverSelectionTimeoutMS=2000&authSource=admin&appName=mongosh+2.3.0
forked from umbertoghio/self-hosted-expo-updates-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expo-updates compliant server for OTA updates for orion
License
qoohoo-app/orion-expo-updates-server
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Expo-updates compliant server for OTA updates for orion
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 85.5%
- HTML 12.5%
- Dockerfile 1.9%
- CSS 0.1%