Moved hardcodes from docker compose to .env

This commit is contained in:
pablo 2023-02-18 19:24:33 +01:00
parent 7a4c879eb9
commit 5f9c32cb7e
2 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,5 @@
SUBNET=<SUBNET>
GATEWAY=<GATEWAY>
BITCOIN_IP_ADDRESS=<BITCOIN_IP_ADDRESS>
ELECTRS_IP_ADDRESS=<ELECTRS_IP_ADDRESS>

View file

@ -111,5 +111,5 @@ networks:
driver: bridge
ipam:
config:
- subnet: 10.5.0.0/16
gateway: 10.5.0.1
- subnet: ${SUBNET}
gateway: ${GATEWAY}