|
| 1 | +# https://github.com/bashly-framework/completely?tab=readme-ov-file#configuration-syntax |
| 2 | + |
| 3 | +itkdev-docker-compose: |
| 4 | + - --help |
| 5 | + |
| 6 | + # url [service [port]] |
| 7 | + # Print url to site or a service |
| 8 | + # |
| 9 | + # Protip: run |
| 10 | + # |
| 11 | + # brew install jq |
| 12 | + # |
| 13 | + # for improved handling of Traefik host names using jq (https://stedolan.github.io/jq/). |
| 14 | + - url |
| 15 | + |
| 16 | + # open [service [port]] |
| 17 | + # Open url in default browser |
| 18 | + - open |
| 19 | + |
| 20 | + # drush |
| 21 | + # Run drush command. If drush in installed via composer, |
| 22 | + # the vendor/bin/drush command is run inside the phpfpm |
| 23 | + # container. Otherwise, the drush container is used to |
| 24 | + # run the command. |
| 25 | + - drush |
| 26 | + |
| 27 | + # self:update |
| 28 | + # Update this script and other stuff. |
| 29 | + - self:update |
| 30 | + |
| 31 | + # sync |
| 32 | + # Sync both database and files. |
| 33 | + - sync |
| 34 | + |
| 35 | + # sync:db |
| 36 | + # Sync database base on 'REMOTE_DB_DUMP_CMD' in the env |
| 37 | + # file. |
| 38 | + # |
| 39 | + # If 'SYNC_DB_POST_SCRIPT' is set, it will be eval'ed after |
| 40 | + # importing the remote database. |
| 41 | + - sync:db |
| 42 | + |
| 43 | + # sync:files |
| 44 | + # Sync files base on 'REMOTE_PATH' or 'LOCAL_PATH' in |
| 45 | + # the env file. |
| 46 | + - sync:files |
| 47 | + |
| 48 | + # sql:cli |
| 49 | + # Open MySQL client to the database (named `db`) in the database |
| 50 | + # container (`mariadb`). |
| 51 | + # |
| 52 | + # Execute a SQL query from the command line: |
| 53 | + # |
| 54 | + # itkdev-docker-compose sql:cli --table <<< 'SHOW TABLES' |
| 55 | + # |
| 56 | + # Run a SQL script: |
| 57 | + # |
| 58 | + # itkdev-docker-compose sql:cli < query.sql |
| 59 | + - sql:cli |
| 60 | + |
| 61 | + # sql:connect |
| 62 | + # Print mysql command for connecting to database (named |
| 63 | + # `db`) in the database container (`mariadb`). |
| 64 | + # |
| 65 | + # Use `$(itkdev-docker-compose sql:connect)` to open the |
| 66 | + # database cli. |
| 67 | + - sql:connect |
| 68 | + |
| 69 | + # sql:log |
| 70 | + # Log SQL queries sent to database. |
| 71 | + - sql:log |
| 72 | + |
| 73 | + # sql:open |
| 74 | + # Open database GUI and connect to MariaDB. |
| 75 | + - sql:open |
| 76 | + |
| 77 | + # sql:port |
| 78 | + # Display the exposed MariaDB SQL server port. |
| 79 | + - sql:port |
| 80 | + |
| 81 | + # template:install name [--force] [--list] |
| 82 | + # Install a named docker-composer template in the current |
| 83 | + # directory. |
| 84 | + - template:install: |
| 85 | + - --force |
| 86 | + - --list |
| 87 | + |
| 88 | + # template:update [--force] |
| 89 | + # Update template installed in project. |
| 90 | + - template:update: |
| 91 | + - --force |
| 92 | + |
| 93 | + # traefik:start |
| 94 | + # Start traefik reverse proxy. |
| 95 | + - traefik:start |
| 96 | + |
| 97 | + # traefik:stop |
| 98 | + # Stop traefik reverse proxy |
| 99 | + - traefik:stop |
| 100 | + |
| 101 | + # traefik:url |
| 102 | + # URL for the administrative UI for traefik. |
| 103 | + - traefik:url |
| 104 | + |
| 105 | + # traefik:open |
| 106 | + # Open the administrative UI for traefik. |
| 107 | + - traefik:open |
| 108 | + |
| 109 | + # traefik:logs |
| 110 | + # See traefik logs |
| 111 | + - traefik:logs |
| 112 | + |
| 113 | + # traefik:pull |
| 114 | + # Pull latest traefik & socket-proxy containers |
| 115 | + - traefik:pull |
| 116 | + |
| 117 | + # mail:url |
| 118 | + # URL for the test mail web interface. |
| 119 | + - mail:url |
| 120 | + |
| 121 | + # mail:open |
| 122 | + # Open test mail web interface in default browser. |
| 123 | + - mail:open |
| 124 | + |
| 125 | + # mailhog:url |
| 126 | + # URL for the mailhog web-interface. |
| 127 | + - mailhog:url |
| 128 | + |
| 129 | + # mailhog:open |
| 130 | + # Open mailhog url in default browser |
| 131 | + - mailhog:open |
| 132 | + |
| 133 | + # xdebug |
| 134 | + # Boot the containers with PHP xdebug support enabled. |
| 135 | + - xdebug |
| 136 | + |
| 137 | + # xdebug3 |
| 138 | + # Boot the containers with PHP xdebug support enabled. |
| 139 | + # Consider using `xdebug` for an improved developer experience. |
| 140 | + - xdebug3 |
| 141 | + |
| 142 | + # hosts:insert |
| 143 | + # Insert the docker site url into the hosts file. |
| 144 | + - hosts:insert |
| 145 | + |
| 146 | + # images:pull |
| 147 | + # Update/pull all docker images. |
| 148 | + - images:pull |
| 149 | + |
| 150 | + # shell [service name] |
| 151 | + # Enter into /usr/bin/env sh inside container. E.g. itkdev-docker-compose shell phpfpm |
| 152 | + - shell |
| 153 | + |
| 154 | + # composer |
| 155 | + # Run composer command inside phpfpm container |
| 156 | + - composer |
| 157 | + |
| 158 | + # php |
| 159 | + # Run php command inside phpfpm container |
| 160 | + - php |
| 161 | + |
| 162 | + # bin/* |
| 163 | + # vendor/bin/* |
| 164 | + # Run command command inside phpfpm container |
| 165 | + |
| 166 | + # down |
| 167 | + # Stop and remove containers, networks, images, and volumes |
| 168 | + - down |
| 169 | + |
| 170 | + # version |
| 171 | + # Display this tool's current version |
| 172 | + - version |
0 commit comments