SatoshiPortal / cyphernode

Modular Bitcoin full-node microservices API server architecture and utilities toolkit to build scalable, secure and featureful apps and services without trusted third parties
MIT License
362 stars 68 forks source link

Fixed wrong ownership for cyphernode_container_monitor volume #283

Closed Kexkey closed 1 year ago

Kexkey commented 1 year ago

The mounted volume cyphernode_container_monitor ownership was not changing to $USER since we added user: $USER in docker-compose file. The container status files were not created.

Kexkey commented 1 year ago

Pretty straightforward changes. Tested on Mac and Linux, on fresh env as well as old ones.

Kexkey commented 1 year ago

I removed the chown commands in the Docker's healthchecks since it's now done once on startup.

phillamy commented 1 year ago

I removed all containers, images and volumes

In start.sh, I noticed it's pulling Alpine:latest. Should it be using a version used by the other images ?

The volume looks good on my MB: $ ls -al /container_monitor total 8 drwxr-xr-x 2 501 dialout 4096 Jul 29 13:38 . drwxr-xr-x 1 root root 4096 Jul 29 13:36 .. -rw-r--r-- 1 501 dialout 0 Jul 29 13:41 bitcoin_ready -rw-r--r-- 1 501 dialout 0 Jul 29 13:41 postgres_ready -rw-r--r-- 1 501 dialout 0 Jul 29 13:41 proxy_ready