Skip to content

Commit

Permalink
Merge pull request #47 from trjohnson19/trjohnson19/docker-compose-co…
Browse files Browse the repository at this point in the history
…mmand-fixes

Update .bash_aliases.example per `docker-compose` [deprecation](https://www.docker.com/blog/new-docker-compose-v2-and-v1-deprecation/)
  • Loading branch information
trjohnson19 authored Mar 21, 2024
2 parents 7e3247b + a58faea commit ba1dc28
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .bash_aliases.example
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ alias dclogs='sudo docker logs -tf --tail="50" '
alias fixsecrets='sudo chown -R root:root /path/to/docker/secrets ; sudo chmod -R 600 /path/to/docker/secrets'

# DOCKER TRAEFIK 2
alias dcrun2='cd /path/to/docker ; sudo docker-compose -f /path/to/docker/docker-compose-t2.yml '
alias dcfulllogs2='cd /path/to/docker ; sudo docker-compose -f /path/to/docker/docker-compose-t2.yml logs -tf '
alias dclogs2='cd /path/to/docker ; sudo docker-compose -f /path/to/docker/docker-compose-t2.yml logs -tf --tail="100" '
alias dcrun2='cd /path/to/docker ; sudo docker compose -f /path/to/docker/docker compose-t2.yml '
alias dcfulllogs2='cd /path/to/docker ; sudo docker compose -f /path/to/docker/docker compose-t2.yml logs -tf '
alias dclogs2='cd /path/to/docker ; sudo docker compose -f /path/to/docker/docker compose-t2.yml logs -tf --tail="100" '
alias dcup2='dcrun2 up -d'
alias dcdown2='dcrun2 down'
alias dcrec2='dcrun2 up -d --force-recreate'
alias dcbuild2='dcrun2 build --pull --no-cache'
alias dcstop2='dcrun2 stop'
alias dcrestart2='dcrun2 restart '
alias dcpull2='cd /path/to/docker ; sudo docker-compose -f /path/to/docker/docker-compose-t2.yml pull'
alias dcedit2='cd /path/to/docker ; nano docker-compose-t2.yml'
alias dcpull2='cd /path/to/docker ; sudo docker compose -f /path/to/docker/docker compose-t2.yml pull'
alias dcedit2='cd /path/to/docker ; nano docker compose-t2.yml'

0 comments on commit ba1dc28

Please sign in to comment.