Issue with Cocorico on Docker and Mongo - database

I'm on Macos Mojave, I'm learning docker and cocorico to use the marketplace.
I've installed cocorico from cocolabs, mongo and mysql with docker, but now the supervisor tell "mysql is exited".
I have some trouble with my db : http://localhost:9001/?message=Process%20mysql%20started
I need help to create db I think I'm noob in docker and symfony and there's no tutorial video or anything.
Thanks you so much

Could you upload your Dockerfile and docker-compose? I'll try to investigate from that.

Related

flink standalone get no metrics to pushgateway for grafana

I am new to flink and have install yarn and flink on my macbook with M1 pro chip.
To monitor the running of flink 1.13, I installed grafana,prometheus, pushgateway the same way I found on the internet posts, and all the web ui looks fine.
Then I changed the flink-conf.yaml file as following pic and copy the flink-metrics-prometheus-1.13.6.jar to the lib folder. And restart the flink using stop-cluster.sh and start-cluster.sh.
However, the pushgateway still get no metricsfrom flink???
Can anyone tell how to fix?
Really in a hurry. Many Thankssssss!!!
I solved this problem. I think its quite tricky, should use 127.0.0.1 instead of localhost
metrics.reporter.promgateway.host: 127.0.0.1

SyntaxError: Missing semicolon when trying to export Mongo Atlas collection to local machine

I am having a problem exporting a collection from Mongo Atlas to my local machine. I have tried several different formats including this one, which I found in the official Atlas documentation on importing and exporting data.
First I log into my Atlas like so:
mongosh "mongodb+srv://cluster0.oyvrw.mongodb.net/dbname" --username uname
Then I try the command from the official docs:
mongoexport --uri mongodb+srv://uname:password#cluster0.oyvrw.mongodb.net/dbname --collection colname --type json --out cats.json
I have looked around at other similar questions and tried everything I can find online without success. One suggestion was not to run the command from the mongo shell but from the regular command line, but this does not work either.
It seems like it should be easier to get a collection out of Atlas to JSON. Any help or suggestions are much appreciated. Thanks!
For anyone facing this error, the mongoexport command does not work with mongosh. It must be run with the system shell.
However, mongoexport is part of mongo-database-tools, which as of MongoDB 4.4, is released separately. As a result, running mongoexport in the system shell will throw a command not found if the installed version of MongoDB is 4.4 or greater.
To solve this you can install the database tools using homebrew:
brew install mongodb/brew/mongodb-database-tools
Of course, make sure you have homebrew already installed. If not a quick Google will help.
Then following command should work to perform an export:
mongoexport --uri mongodb+srv://<username>:<password>#cluster0.oyvrw.mongodb.net/<dbName> --collection <collectionName> --type json --out /Users/macuser/desktop/exportBU.json
Hope that helps anyone having similar problems getting data in/out of MongoDB.

Configure Postgre DB in docker project

I'm very new to docker and docker-compose things. I have tried to use Kiwi TCMS open source project which supposed to use with Docker.
My question is can I run the projects on docker on the same server, I'm supposed to configure my development and production sites on the same server (CentOS)?
I'm following the below link to install docker and configure the kiwitcms application for the first time, I read the basics about the docker and how its working and all.
https://kiwitcms.readthedocs.io/en/latest/installing_docker.html#
I want to use PostgreSQL as my Database, but the existing latest docker image has MariaDB. So after I pulled latest version of kiwitcms from docker hub using the following command,
docker pull kiwitcms/kiwi
Should I change to "docker-compose.yml" file db image value, and save it to a local new directory,
https://raw.githubusercontent.com/kiwitcms/Kiwi/master/docker-compose.yml
[![enter image description here][1]][1]
Also there can we edit use our own DB name, user name passwords right?
then execute the following command.
docker-compose up -d
I'm very new to this model and read most of the articles related to docker, but this leads me few of these doubts, hence asking for these clarifications.
Thanks,
Karthik.
The web app and the DB server are 2 different images (aka 2 different servers). For example how we use Postgres in testing see:
https://github.com/kiwitcms/Kiwi/blob/master/docker-compose.postgres

Axon Distributed Command Bus on Docker Swarm

We use Axon and I am trying to make a distributed command bus for one of our services Deployed on Docker Swarm.
Anyone already have experiance/tips for setting this up?
We are using:
Axon
Docker Swarm
Spring-Boot
And I want to use JGroups icw DNSPING for the distributed setup.
Regards,
Johan.

Deployd Failing to Start - mongodb issue

Have tried to troubleshoot this issue from previous posts, but no joy so here goes.
I am working through the Apress Pro Angular book and am on a different machine today and have all the content I need to work from but Deployd is failing with the following error:
dpd -p 5500 sportsstore/app.dpd
Failed to start MongoDB (Make sure 'mongod' are in your $PATH or use dpd --mongod option. Ref: http://docs.deployd.com/docs/basics/cli.html)
bye
I installed Mongodb view homebrew and am just a bit unsure what I need to do. The deployd docs aren't helping.
I am running this on OSX Yosemite and Mongodb was installed via homebrew.
Thanks in advance :)
I have had same problem today, try to open command prompt in Administrator mode. Its working for me like this.

Resources