Category : docker

I have a problem connecting a microservice with mongoDB in Docker in a ubuntu server My application.properties: #——-APP——- spring.application.name=app-interventor server.port=${PORT:0} #—–MongoDb—— spring.data.mongodb.host=mongo spring.data.mongodb.port=27017 spring.data.mongodb.authentication-database=admin spring.data.mongodb.username=user spring.data.mongodb.password=user spring.data.mongodb.database=interventorApp spring.data.mongodb.auto-index-creation: true #—–Eureka——- eureka.instance.metadataMap.instanceId=${spring.application.name}:${spring.application.instance_id:${random.value}} eureka.client.service-url.defaultZone=http://eureka:8761/eureka management.endpoints.web.exposure.include=* management.endpoint.health.show-details=always as initialize mongo in docker: sudo docker network create appcity sudo docker run -p 27017:27017 –name mongo –network appcity -d mongo:4 ..

Read more

Java 11 and yourkit 2020.9 working for me. Made upgrade to java 17 and yourkit 2021.11, yourkit not working for me. Used this doc: https://www.yourkit.com/docs/java/help/docker.jsp to add yourkit 2021.11 to docker but getting error when running it: [YourKit Java Profiler 2021.11-b220] Log file: /home/kek/.yjp/log/test-8.log terminate called after throwing an instance of ‘std::system_error’ what(): No error ..

Read more

I didn’t notice any difference after these 2 runs of publish if compare linux-self-contained and linux-dotnet folders. dotnet publish WebApi.csproj -c Release -o linux-self-contained –self-contained -r linux-x64 dotnet publish WebApi.csproj -c Release -o linux-dotnet -r linux-x64 Is it possible to achieve publishing mode for which dotnet ( Linux executable ) and any other prerequisites will ..

Read more

I would like to start the Confluent control center using docker as prescribed in the document: https://docs.confluent.io/platform/current/quickstart/ce-docker-quickstart.html This is the docker-compose.yaml file they provided; — version: ‘2’ services: zookeeper: image: confluentinc/cp-zookeeper:5.5.0 hostname: zookeeper container_name: zookeeper ports: – "2181:2181" environment: ZOOKEEPER_CLIENT_PORT: 2181 ZOOKEEPER_TICK_TIME: 2000 broker: image: confluentinc/cp-server:5.5.0 hostname: broker container_name: broker depends_on: – zookeeper ports: – ..

Read more

openg2p-erp12-odoo Traceback (most recent call last): │ │ openg2p-erp12-odoo File "/opt/bitnami/odoo/lib/odoo-12.0.post20210815-py3.8.egg/odoo/api.py", line 1049, in get │ │ openg2p-erp12-odoo value = self._data[key][field][record._ids[0]] │ │ openg2p-erp12-odoo KeyError: 673 │ │ openg2p-erp12-odoo During handling of the above exception, another exception occurred: │ │ openg2p-erp12-odoo Traceback (most recent call last): │ │ openg2p-erp12-odoo File "/opt/bitnami/odoo/lib/odoo-12.0.post20210815-py3.8.egg/odoo/fields.py", line 1064, in __get__ ..

Read more