Skip to content

Commit

Permalink
feat: replace docker-compose command alias to docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
nokazn committed Dec 10, 2024
1 parent dd46339 commit b1b145e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion modules/shellAliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ in
apt-install = "apt install --no-install-recommends";
apt-purge = "apt --purge remove";
dc = "docker";
dcc = "docker-compose";
dcc = "docker compose";
diff = "colordiff";
dotfiles = "cd ${DOTFILES}";
hm = "home-manager";
Expand All @@ -60,4 +60,11 @@ in
tf = "terraform";
tarx = "tar -xvz";
y = "yarn";

dball = "mysql -uroot -h 127.0.0.1 -P 3307 -p tunecorejapan -A -ppassword";
tailfsite = "docker exec tcj-ap-server tail -f /var/log/tunecorejapan/site/error/current";
tailfadmin = "docker exec tcj-ap-server tail -f /var/log/tunecorejapan/admin/error/current";
tailfgo = "docker exec tcj-go-server tail -f /var/log/tunecorejapan_go/site/error/current";
tailflinkcore = "docker exec tcj-go-server tail -f /var/log/tunecorejapan_go/linkcore/error/current";
tailfdynamo = "docker exec tcj-go-server tail -f /var/log/tunecorejapan_go/dynaprox/error/current";
} // wslAliases
2 changes: 1 addition & 1 deletion windows/AppData/Roaming/nushell/aliases.nu
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ alias branch = git symbolic-ref --short HEAD
alias dotfiles = cd ~\dotfiles
alias ssh-keygen-rsa = ssh-keygen -t rsa -b 4096 -C
alias dc = docker
alias dcc = docker-compose
alias dcc = docker compose
alias tf = terraform

0 comments on commit b1b145e

Please sign in to comment.