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
Deploy preferences or config error #341
Comments
In case of For
Setting |
Hi, thanks yours help. All containers are running but only filebeat container is restarting. Because file permission. Im not fix it because of Container is restarting. it is not accesseble. Exiting: error loading config file: config file ("filebeat.yml") can only be writable by the owner but the permissions are "-rwxrwxrwx" (to fix the permissions use: 'chmod go-w /usr/share/filebeat/filebeat.yml') |
That looks like a problem related to docker and your host OS. Please refer to this link for a possible solution and let me know if you need any help |
By the way, it's not absolutely necessary to run filebeat, elastic, and kibana. The system works without these containers. They're just for monitoring and still under development |
Thank you Marchosiax. I checked all docker-compose file but I did not find exposed port. Example vault:9200, web-app 80 port. Can you share web-app and admin-panel packages env files? |
For security reasons, we don't expose ports in configs. You can modify the |
Web app
Admin panel
|
Thank you peyman, js-api-client is necessary module ? How am I up this package? And again could you help me about js-api env file. |
Hi Peyman. 2- You said me about exposed ports;
Can you tell me which ports required? Which container exposeable any port? |
Hi, I change "localhost" with my ip adress on env file. And this error change the diffrent error; |
I'll mention front-end team here to answer this question: |
You are clearly having difficulty with CORS configuration. We've configured CORS with Nginx (which is available here btw), so every request goes through there and as far as I see, you're not running Nginx.
If you want to access each container individually on your localhost, you need to expose a port mapping to that container. here's an example
You can run with this configuration alongside the main docker-compose -f docker-compose.yml -f docker-compose.local.yml up -d |
Thank you peyman. I will use to NGINX. Lastly, Could you send me .env file for proxy-manager. |
EXPOSED_PORT=443
SERVER_NAME_DASHBOARD=dashbrd-dev.opex.dev
SERVER_NAME_ADMIN_PANEL=adm-dev.opex.dev
SERVER_NAME_WEB_APP=dev.opex.dev
SERVER_NAME_AUTH=auth-dev.opex.dev
SERVER_NAME_API=api-dev.opex.dev
SERVER_NAME_KIBANA=kibana-dev.opex.dev Remember, you also need a |
If you wish to not have SSL, you need to modify this file and remove the part which is responsible for SSL configuration |
Ok. Thanks peyman. I will try. |
You should connect to the Nginx. For example, the value of |
Peyman, thank you for your supports. Keycloak, Vault, Reverse proxy and finally admin-panel and web-app are okey. its time to chain-scanner. Lastly, Could you send me .env file for chain-scanner. |
This is my captcha containers log: |
Guys, it looks like a very big drawback in the documentation. Judging by how many questions and how few answers, it was very cool to collect together to the tutorial how to raise the entire system locally. As for me I have problems with core, web-app and proxy-reverse too. |
@vanodevium thanks for your interest in the project. We do agree that there is a huge lack of documentation but we are a small team and still have a bunch of issues to fix. Documentation is in the plan but it is not part of the roadmap of Q1/Q2. however we are Open Source and we are absolutely open to PRs and would warmly welcome every one who like to contribute, specially in documentation. :) |
@maryarm As opensourcer, I can help you and your team to collect info about friendly start and write short brief as readme part :) |
Please open a sperate one so it will be easier to trace and follow unless you feel that you have the same problems. Thanks, it sounds Cool, we and the other users would appreciate it. |
@umutucer |
Could you please tell us the failing modules and Have you already tried with .envs that @Marchosiax has shared before? |
core: APP_NAME=Opex
APP_BASE_URL=http://dev.opex.dev
PANEL_PASS=admin
BACKEND_USER=admin
SMTP_PASS=your-smtp-password
OPEX_ADMIN_KEYCLOAK_CLIENT_SECRET=get-opex-admin-client-secrent-in-keycloak
API_KEY_CLIENT_SECRET=get-api-key-client-secrent-in-keycloak
KEYCLOAK_FRONTEND_URL=http://localhost:8083/auth
KEYCLOAK_ADMIN_URL=http://localhost:8083/auth
KEYCLOAK_VERIFY_REDIRECT_URL=http://localhost:8080/verify
KEYCLOAK_FORGOT_REDIRECT_URL=http://localhost:8080/forgot
PREFERENCES=preferences-dev.yml
KIBANA_PUBLIC_URL=http://localhost:9090
FILEBEAT_API_KEY=x
TAG=debug chain-scan: BITCOIN_RPC_ENDPOINT=https://btc.getblock.io/mainnet
TEST_BITCOIN_RPC_ENDPOINT=https://btc.getblock.io/testnet
BITCOIN_REST_ENDPOINT=https://btc.getblock.io/mainnet/rest
TEST_BITCOIN_REST_ENDPOINT=https://btc.getblock.io/testnet/rest
BITCOIN_API_KEY=your-api-key
ETH_RPC_ENDPOINT=https://mainnet.infura.io/v3/your-api-key
TEST_ETH_RPC_ENDPOINT=https://ropsten.infura.io/v3/your-api-key
BSC_RPC_ENDPOINT=https://bsc.getblock.io/mainnet/?api_key=your-api-key
TEST_BSC_RPC_ENDPOINT=https://bsc.getblock.io/testnet/?api_key=your-api-key
TRON_REST_ENDPOINT=https://api.trongrid.io
TRON_API_KEY=your-api-key
TEST_BITCOIN_API_KEY=your-api-key
PANEL_PASS=1234
BACKEND_USER=admin
PREFERENCES=preferences.yml
PREFERENCES_IDENTIFIER=dev web-app: REACT_APP_ENV=development
REACT_APP_API_BASE_URL=https://nginx-host
REACT_APP_CLIENT_ID=web-app
REACT_APP_CLIENT_SECRET=get-web-app-client-secrent-in-keycloak
REACT_APP_TITLE=OPEX
REACT_APP_DESCRIPTION_CONTENT=Open Source Exchange
REACT_APP_LOGIN_CLIENT_ID=admin-cli
REACT_APP_MULTI_LANGS_SUPPORT=TRUE
REACT_APP_PRELOAD_LANG=en
REACT_APP_LANGS_SUPPORT=[en]
REACT_APP_DEFAULT_THEME=DARK
REACT_APP_SYSTEM_EMAIL_ADDRESS=youremailaddress@yourhost.com
REACT_APP_REFERENCE_FIAT_CURRENCY=TUSDT
REACT_APP_CALENDAR_TYPE =Jalali |
hi i would like to write some project documentation, but first i will need configure in order to run with default docker-compose files include them in the project could you share with me the default env. values, default docker files values and so on in order to executed locally (using de default images and compiling locally, both of them) i would like to configure using default docker images and compiling locally and execute them may be you could share with me your local environment by google drive in a zip file, in order to avoid waste time checking by my side all the possibles configuration errors if you could help me with that, i could have initial documentation may be in two weeks , i would like document module by module thanks in advance |
Hi I would like to install opex locally without using docker images, but i can't find some source code in order to build my own image do you have a documentation to create my own images? thanks |
Hey @eliudrojas Nonetheless, you can find configurations for all of the images in |
I followed the steps outlined in the readme file but were unable to build, and I'm unsure if there are any missing preferences or configuration settings.
I try,
You need to have Maven and Docker installed.
1 Clone the repository git clone https://github.com/opexdev/core.git
2 Run cd core
3 Run mvn clean install command.
4 Run docker-compose up --build.
5 Run docker ps to see if every service is running.
result;
Tree container is exited; filebeat_1, elasticsearch_1,postgres-opex_1.
postgres error log:
Error: Database is uninitialized and superuser password is not specified.
You must specify POSTGRES_PASSWORD to a non-empty value for the
superuser. For example, "-e POSTGRES_PASSWORD=password" on "docker run".
You may also use "POSTGRES_HOST_AUTH_METHOD=trust" to allow all
connections without a password. This is not recommended.
See PostgreSQL documentation about "trust":
https://www.postgresql.org/docs/current/auth-trust.html
***but I am not change anything in docker-compose file so it has got environment:
- POSTGRES_USER=${DB_USER:-opex}
filebeat error log:
Exiting: error initializing publisher: missing field accessing 'output.elasticsearch.api_key' (source:'filebeat.yml')
***but again I am not change anything in docker-compose file so environment:
- FILEBEAT_API_KEY=$FILEBEAT_API_KEY
and filebeat.yml is not chaned,
output.elasticsearch:
hosts: [ "elasticsearch:9200" ]
protocol: https
api_key: ${FILEBEAT_API_KEY}
elasticsearch error log:
ERROR: Elasticsearch exited unexpectedly
I am not aware of the missing file, missing information, or API resources that I need to obtain from different components. I am not sure if I am receiving errors related to this, but I need your help.
The text was updated successfully, but these errors were encountered: