游戏 简单的在线游戏 export PATH_TO_GAME= ~ /projects/game export UID alias dcg= " docker-compose -f $PATH_TO_GAME /dev-env/docker-compose.yml " alias dbGame= " docker-compose -f $PATH_TO_GAME /dev-env/docker-compose.yml exec db mysql -h localhost -uuser -ppass db " 在Windows上(您可以将其添加到powershell $profile文件中):