feat: allow docker compose overrides

- use file override to handle multiple networks
- expose and map only required ports
- name containers differently
- add environment for chain variable
- dont expose ports in image
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
This commit is contained in:
Lakshya Singh
2023-09-26 00:40:53 +05:30
parent 0484ff6475
commit 5b0cb901cb
5 changed files with 68 additions and 28 deletions

View File

@@ -121,8 +121,6 @@ RUN chmod +x /healthcheck.sh
VOLUME ["${BITCOIN_DATA}"]
EXPOSE 8332 8333 18332 18333 18444
RUN mkdir -p "${BITCOIN_DATA}"
RUN chown -R bitcoin:bitcoin "${BITCOIN_DATA}"