New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with Running docker contianer on single node #699
Comments
What are the logs for the WS instance? What happens in the UI? Are there any errors or other relevant messages in the browser javascript console? |
Hey @mayurthakur29 I think there's something wrong with the configuration of your UI container, notably the You've set it to Try to set it to |
Here is my version: '3'
services:
apicurio-studio-mysql:
image: 'percona:5.7'
user: '1000'
restart: always
command: [
'--character-set-server=utf8mb4',
'--collation-server=utf8mb4_unicode_ci'
]
environment:
MYSQL_DATABASE: 'apicuriodb'
MYSQL_ROOT_PASSWORD: 'root_password'
MYSQL_USER: 'apicurio'
MYSQL_PASSWORD: 'apicurio_password'
volumes:
- './data_mysql:/var/lib/mysql'
apicurio-studio-ws:
user: '1000'
restart: always
image: 'apicurio/apicurio-studio-ws:0.2.25.Final'
depends_on: [apicurio-studio-mysql]
ports:
- '10.0.0.130:8092:8080'
environment:
JAVA_TOOL_OPTIONS: '-Djava.net.preferIPv4Stack=true'
APICURIO_DB_TYPE: 'mysql5'
APICURIO_DB_DRIVER_NAME: 'mysql'
APICURIO_DB_CONNECTION_URL: 'jdbc:mysql://apicurio-studio-mysql/apicuriodb'
APICURIO_DB_USER_NAME: 'apicurio'
APICURIO_DB_PASSWORD: 'apicurio_password'
APICURIO_DB_INITIALIZE: 'false'
apicurio-studio-api:
image: 'apicurio/apicurio-studio-api:0.2.25.Final'
user: '1000'
restart: always
depends_on: [apicurio-studio-mysql, apicurio-studio-ws]
ports:
- '10.0.0.130:8091:8080'
environment:
JAVA_TOOL_OPTIONS: '-Djava.net.preferIPv4Stack=true'
APICURIO_KC_AUTH_URL: 'http://10.0.0.130:8090/auth/'
APICURIO_DB_TYPE: 'mysql5'
APICURIO_DB_DRIVER_NAME: 'mysql'
APICURIO_DB_CONNECTION_URL: 'jdbc:mysql://apicurio-studio-mysql/apicuriodb'
APICURIO_DB_USER_NAME: 'apicurio'
APICURIO_DB_PASSWORD: 'apicurio_password'
APICURIO_DB_INITIALIZE: 'true'
APICURIO_GITHUB_API_URL: ''
APICURIO_GITLAB_API_URL: ''
APICURIO_BITBUCKET_API_URL: ''
apicurio-studio-ui:
user: '1000'
restart: always
image: 'apicurio/apicurio-studio-ui:0.2.25.Final'
depends_on: [apicurio-studio-mysql, apicurio-studio-api, apicurio-studio-ws]
ports:
- '10.0.0.130:8093:8080'
environment:
JAVA_TOOL_OPTIONS: '-Djava.net.preferIPv4Stack=true'
APICURIO_KC_AUTH_URL: 'http://10.0.0.130:8090/auth/'
APICURIO_UI_HUB_API_URL: 'http://10.0.0.130:8091'
APICURIO_UI_EDITING_URL: 'ws://10.0.0.130:8092' |
Thanks @Nicnl - any chance you'd like to contribute your docker compose to the project? |
Thanks @Nicnl , issue got resolved after changing that part . to WS |
Absolutely, if I didn't want to contribute I wouldn't be posting it to help others |
Fair enough (and thanks). Issue here: #700 |
i am running docker container on single host as below .
I am able to create API but unable to edit the API , as i check logs i am unable to get hit on WS container .
API logs are as below
The text was updated successfully, but these errors were encountered: