Guys,
I went into zeebe-docker-compose/operate-simple-monitor and changed the port from 8080 to 8084 and restarted my docker containers. When I do this, I can no longer log in to either application.
What am I doing wrong?
Guys,
I went into zeebe-docker-compose/operate-simple-monitor and changed the port from 8080 to 8084 and restarted my docker containers. When I do this, I can no longer log in to either application.
What am I doing wrong?
Hey @klaus.nji,
Please post the resulting compose file so we are able to point out the problem and talking about the same thing.
Since the simple monitor is a spring boot application the following might help
Greets
Chris
Thank you. I’ll look into that. My docker compose is attached. However, the issue must be with the Sprint Boot application setup.
version: "2"
volumes:
zeebe_data:
zeebe_elasticsearch_data:
networks:
zeebe_network:
driver: bridge
services:
db:
image: oscarfonts/h2:1.4.197
container_name: zeebe_db
ports:
- "1521:1521"
- "81:81"
networks:
- zeebe_network
zeebe:
container_name: zeebe_broker
image: camunda/zeebe:0.20.0
environment:
- ZEEBE_LOG_LEVEL=debug
- SIMPLE_MONITOR_EXPORTER_JDBC_URL=jdbc:h2:tcp://db:1521/zeebe-monitor
ports:
- "26500:26500"
- "9600:9600"
volumes:
- ../lib/zeebe-hazelcast-exporter-0.5.0.jar:/usr/local/zeebe/lib/zeebe-hazelcast-exporter.jar
- ./zeebe.cfg.toml:/usr/local/zeebe/conf/zeebe.cfg.toml
networks:
- zeebe_network
depends_on:
- db
monitor:
container_name: zeebe_monitor
image: camunda/zeebe-simple-monitor:0.15.0
environment:
- spring.datasource.url=jdbc:h2:tcp://db:1521/zeebe-monitor
- io.zeebe.monitor.connectionString=zeebe:26500
- io.zeebe.monitor.hazelcast.connection=zeebe:5701
ports:
- "8082:8084"
depends_on:
- db
- zeebe
restart: always
networks:
- zeebe_network
operate:
container_name: operate
image: camunda/operate:1.0.0
ports:
- "8084:8084"
volumes:
- ../lib/application.yml:/usr/local/operate/config/application.yml
networks:
- zeebe_network
elasticsearch:
container_name: zeebe_elasticsearch
image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.7.1
ports:
- "9200:9200"
environment:
- discovery.type=single-node
- cluster.name=elasticsearch
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
volumes:
- zeebe_elasticsearch_data:/usr/share/elasticsearch/data
networks:
- zeebe_network
kibana:
container_name: zeebe_kibana
image: docker.elastic.co/kibana/kibana-oss:6.7.1
ports:
- "5601:5601"
networks:
- zeebe_network
Changed port in application.yml in docker container for operate and that fixed it
A better title for this thread would be “Unable to connect to Operate in Docker after changing application port”