3 ms·
I have a simpler method of doing this. In my zshrc I have this: ``` export APP_CONTAINER=app alias dc = docker compose alias d = docker compose exec $APP_C
by Oxodao 1y ago
I have a simpler method of doing this.
In my zshrc I have this:
```
export APP_CONTAINER=app
alias dc = docker compose
alias d = docker compose exec $APP_CONTAINER
alias s = docker compose exec $APP_CONTAINER php bin/console
```
Then, if for some reason I have another name in my docker compose, I simply use a envrc file that export the correct name for the given folder