Last active
April 14, 2023 15:04
-
-
Save codepope/ee813685c30601fc45bd9540314b1e57 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -i -e "/cluster_tags: {}/a\ \n# Enabling static Docker IPs\ndocker_networks:\n- name: demonet\n ipam_config:\n - subnet: 172.18.37.0/24\n gateway: 172.18.37.1\n | |
s/ node: \([1-4]\)/&\n networks:\n - name: demonet\n ipv4_address: 172.18.37.1\1/g" democluster/config.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment