docker exec -it $(docker container ls --filter name=_charts -q) cat /mongodb-charts/logs/stitch-startup.log
cat: /mongodb-charts/logs/stitch-startup.log: No such file or directorymongodb-charts docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d169080afa5f quay.io/mongodb/charts:v0.9.0 "/bin/sh -c '/usr/bi…" 3 minutes ago Up 3 minutes 80/tcp mongodb-charts_charts.1.u1t4hw00gwmusr7gyje137dzcdocker service ls
mongodb-charts docker service ls
ID NAME MODE REPLICAS IMAGE PORTS
59nkt8t15sd8 mongodb-charts_charts replicated 1/1 quay.io/mongodb/charts:v0.9.0 *:80->80/tcp--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/4a3372b8-77f6-4d39-b87d-b18cf753e2a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@googlegroups.com.
nobilex-parent git:(feature/NBX-875) ✗ docker ps git:(feature/NBX-875|●1✚2
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
b7e7465dec8d quay.io/mongodb/charts:v0.9.0 "/bin/sh -c '/usr/bi…" 7 minutes ago Up 3 minutes 0.0.0.0:9999->80/tcp nobilex_charts_1
277bc351153d mongo:3.6-jessie "docker-entrypoint.s…" 7 minutes ago Up 3 minutes 0.0.0.0:27017->27017/tcp nobilex_mongodb_1root@charts:/# cat /mongodb-charts/logs/charts-cli.log
2018-08-03T07:28:11.082+00:00 INFO called charts-cli startup with arguments {"_":["startup"],"debug":false,"help":false,"version":false,"d":"/mongodb-charts","directory":"/mongodb-charts","$0":"mongodb-charts/bin/charts-cli.js"}
2018-08-03T07:28:11.152+00:00 INFO startup successful
2018-08-03T07:28:11.156+00:00 INFO tokens task success
2018-08-03T07:28:11.158+00:00 INFO encryptionKeyPath task success
2018-08-03T07:28:11.158+00:00 INFO stitchConfigTemplate task success
2018-08-03T07:32:33.288+00:00 INFO called charts-cli startup with arguments {"_":["startup"],"debug":false,"help":false,"version":false,"d":"/mongodb-charts","directory":"/mongodb-charts","$0":"mongodb-charts/bin/charts-cli.js"}
2018-08-03T07:32:33.297+00:00 INFO encryptionKeyPath task success
2018-08-03T07:32:33.307+00:00 INFO startup successful
2018-08-03T07:32:33.312+00:00 INFO tokens task success
2018-08-03T07:32:33.313+00:00 INFO stitchConfigTemplate task successcharts:
image: quay.io/mongodb/charts:v0.9.0
hostname: charts
ports:
# host:container port mapping. If you want MongoDB Charts to be
# reachable on a different port on the docker host, change this
# to <port>:80, e.g. 8888:80.
- 9999:80
volumes:
- keys:/mongodb-charts/volumes/keys
- db-certs:/mongodb-charts/volumes/db-certs
environment:
# This environment variable controls the built-in support widget and
# metrics collection in MongoDB Charts. To disable both, set the value
# to "off". The default is "on".
CHARTS_SUPPORT_WIDGET_AND_METRICS: "on"
# Directory where you can upload SSL certificates (.pem format) which
# should be considered trusted self-signed or root certificates when
# Charts is accessing MongoDB servers with ?ssl=true
SSL_CERT_DIR: /mongodb-charts/volumes/db-certs
# networks:
# - backend
secrets:
- charts-mongodb-uri
volumes:
keys:
db-certs:
secrets:
charts-mongodb-uri:
file: ./secret.txt
mongodb://mongodb/?replicaSet=rs0
add-user command error: ENOENT: no such file or directory, open '/run/secrets/charts-mongodb-uri'To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/47281d53-3949-48fe-989b-e2e9572bedc3%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@googlegroups.com.