polkascan / explorer

Polkascan Substrate Explorer
GNU General Public License v3.0
42 stars 44 forks source link

How to configure the docker-compose.yml for AWS RDS #15

Closed chandanchoudhury0809 closed 1 year ago

chandanchoudhury0809 commented 1 year ago

After configuring docker-compose.yml for AWS RDS with the correct values, tables are not created in the database, and block data is missing. This means writing to DB is not working.

Can you share some documents on how to setup or configure docker-compose.yml for AWS RDS (MySQL)?

Screenshot 2022-11-10 at 9 45 37 AM
chandanchoudhury0809 commented 1 year ago

I am using external hosted SUBSTRATE_RPC_URL. If I am running all things locally writing to DB is working. But I need to connect to external DB. and external SUBSTRATE_RPC_URL.

wouterter commented 1 year ago

Are you still having issues? If so, can you show us your log files? It should be able to work on an external DB. Are you perhaps having firewall or connection issues? Have you set proper permissions on the database server?

chandanchoudhury0809 commented 1 year ago

Its working fine now. I fixed it by configuring DB properly.