Skip to content

Commit

Permalink
Merge pull request #21 from Faks/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Faks authored Sep 1, 2024
2 parents 75962e8 + ad316f4 commit cb944d7
Show file tree
Hide file tree
Showing 13 changed files with 2,349 additions and 168 deletions.
8 changes: 6 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ WORKSPACE_INSTALL_DNSUTILS=true
WORKSPACE_XDEBUG_PORT=9000
WORKSPACE_VITE_PORT=5173
WORKSPACE_INSTALL_JDK=true
WORKSPACE_INSTALL_GITHUB_CLI=false

### PHP_FPM ###############################################

Expand Down Expand Up @@ -406,6 +407,7 @@ APACHE_FOR_MAC_M1=false

### MYSQL #################################################

# 5.7, 8.0, 8.4, 9.0
MYSQL_VERSION=latest
MYSQL_DATABASE=default
MYSQL_USER=default
Expand All @@ -420,7 +422,7 @@ MYSQL_DEVELOPMENT_VERSION=latest
MYSQL_DEVELOPMENT_DATABASE=default
MYSQL_DEVELOPMENT_USER=default
MYSQL_DEVELOPMENT_PASSWORD=secret
MYSQL_DEVELOPMENT_PORT=3306
MYSQL_DEVELOPMENT_PORT=3307
MYSQL_DEVELOPMENT_ROOT_PASSWORD=root
MYSQL_DEVELOPMENT_ENTRYPOINT_INITDB=./mysql/docker-entrypoint-initdb.d

Expand All @@ -430,7 +432,7 @@ MYSQL_STAGING_VERSION=latest
MYSQL_STAGING_DATABASE=default
MYSQL_STAGING_USER=default
MYSQL_STAGING_PASSWORD=secret
MYSQL_STAGING_PORT=3306
MYSQL_STAGING_PORT=3308
MYSQL_STAGING_ROOT_PASSWORD=root
MYSQL_STAGING_ENTRYPOINT_INITDB=./mysql/docker-entrypoint-initdb.d

Expand Down Expand Up @@ -1092,6 +1094,8 @@ NATS_MONITORING_PORT=6222
NATS_ROUTE_PORT=8222

### SOKETI ##################################################
SOKETI_NODE_VERSION=16-debian
SOKETI_BASE_IMAGE_TAG_PREFIX=latest
SOKETI_PORT=6001
SOKETI_METRICS_SERVER_PORT=9601

Expand Down
35 changes: 35 additions & 0 deletions DOCUMENTATION/content/documentation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,41 @@ WORKSPACE_INSTALL_PHPDBG=true
PHP_FPM_INSTALL_PHPDBG=true
```

<br>
<a name="Install-github-copilot-cli"></a>
## Install Github Copilot Cli
### Note: You must have Github Copilot access to use this feature.
Install `gh-cli` in the Workspace Container:

<br>
1 - Open the `.env`.

2 - Search for `WORKSPACE_INSTALL_GITHUB_CLI`.

3 - Set value to `true`

```dotenv
WORKSPACE_INSTALL_GITHUB_CLI=true
```
4 - Re-build the containers `docker compose build workspace`

5 - start your container `docker compose up -d workspace // ..and all your other containers`

6 - Enter the Workspace container:
```bash
docker-compose exec workspace bash
```

7 - Authenticate with your github account and follow the instructions::
```bash
gh auth login
```

8 - Install the copilot cli:
```bash
gh extension install github/gh-copilot
```




Expand Down
Loading

0 comments on commit cb944d7

Please sign in to comment.