top | item 45733912

(no title)

Oxodao | 4 months 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

discuss

order

No comments yet.