Open Dag0n opened 1 month ago
Hello, seems that the error happens because the db is empty and it is trying to create the admin user, have you managed to go pasti it? maybe a permission issue for the DB
same issue with you :v
my dockerr-compose.yml
`version: '3.7' services: api: image: ghcr.io/umbertoghio/self-hosted-expo-updates-server-api:latest container_name: api restart: always depends_on:
DASBHOARD_THROTTLE_MSEC=5000 # No more than one refresh every 5 seconds fror the dashboard
self_hosted_expo_updates_server_web: image: ghcr.io/umbertoghio/self-hosted-expo-updates-server-web:latest container_name: self_hosted_expo_updates_server_web restart: always depends_on:
API_BASE_URL=http://157.66.101.16:3000
# URL of the API server
database: container_name: database image: mongo:4.2.2 platform: linux/amd64 restart: always ports:
volumes: mongo_data:`
and my init.js
`/ eslint-disable no-undef /
let db = connect("mongodb://admin:myPRODUCTIONPassword@localhost:27017/admin");
db = db.getSiblingDB("expo");
db.createUser({ user: "expo", pwd: "myRegularUserPassw", roles: [ { role: "readWrite", db: "expo", }, ], });`
Using defaults or amending the docker-compose.yaml I get the above error.