Skip to content

Commit

Permalink
Merge pull request #587 from dappnode/pablo/add-docker-compose-alias
Browse files Browse the repository at this point in the history
Alias for compose backwards compatibility
  • Loading branch information
pablomendezroyo authored Jul 26, 2023
2 parents ab53ae1 + 728233f commit 0320b70
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .dappnode_profile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ alias dappnode_wireguard='docker exec -i DAppNodeCore-api.wireguard.dnp.dappnode
alias dappnode_connect='/usr/bin/bash /usr/src/dappnode/scripts/dappnode_access_credentials.sh'
# Return all available commands
alias dappnode_help='echo -e "\n\tDAppNode commands available:\n\n\tdappnode_help\t\tprints out this message\n\n\tdappnode_wifi\t\tget wifi credentials (SSID and password)\n\n\tdappnode_openvpn\tget Open VPN credentials\n\n\tdappnode_wireguard\tget Wireguard VPN credentials (dappnode_wireguard --help for more info)\n\n\tdappnode_connect\tcheck connectivity methods available in DAppNode\n\n\tdappnode_status\t\tget status of dappnode containers\n\n\tdappnode_start\t\tstart dappnode containers\n\n\tdappnode_stop\t\tstop dappnode containers\n"'
# Compose alias for backward compatibility
if docker compose version >/dev/null 2>&1; then
alias docker-compose='docker compose'
fi

return

0 comments on commit 0320b70

Please sign in to comment.