Skip to content

Commit

Permalink
Merge pull request #92 from kellerkinderDE/noticket/docChanges
Browse files Browse the repository at this point in the history
doc changes/updates
  • Loading branch information
lx-wnk authored Feb 7, 2024
2 parents c1ae8e1 + 57eb4e8 commit ec633e3
Show file tree
Hide file tree
Showing 9 changed files with 132 additions and 123 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Test ${{ matrix.manifest }} example
run: |
cd ${GITHUB_WORKSPACE}/examples/${{ matrix.manifest }}
sed -i "s,url: github:kellerkinderDE/devenv-shopware?ref=v2.1.0,url: path:${GITHUB_WORKSPACE}," devenv.yaml
sed -i "s,url: github:kellerkinderDE/devenv-shopware?ref=v2.1.1,url: path:${GITHUB_WORKSPACE}," devenv.yaml
echo running on ${GITHUB_REPOSITORY} with ref ${GITHUB_REF_NAME}
direnv allow && direnv reload
devenv ci -vvv
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
# Devenv
/.devenv*
/devenv.lock
/examples/**/.devenv*
/examples/**/.direnv
2 changes: 1 addition & 1 deletion devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
let
cfg = config.kellerkinder;

currentVersion = "v2.1.0";
currentVersion = "v2.1.1";

listEntries = path:
map (name: path + "/${name}") (builtins.attrNames (builtins.readDir path));
Expand Down
2 changes: 2 additions & 0 deletions docs/Home.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Add the following files to the project `.gitignore` file:
# Options
A full list of options can be found [here](Options.md).

If you encounter errors with the standard http/https ports, you should adjust these via the [options](Options-Ports.md).

# Different PHP versions
If you want to use a specific PHP version, you can set the following versions
in your project `devenv.nix` file. The php.ini configuration is >php80 specific
Expand Down
119 changes: 119 additions & 0 deletions docs/Options-Ports.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
# kellerkinder.httpPort
Sets the http port for caddy.

_This has to be an int_

*_Example_*
```
kellerkinder.httpPort = 8080;
```

# kellerkinder.httpsPort
Sets the https port for caddy.

_This has to be an int_

*_Example_*
```
kellerkinder.httpsPort = 8443;
```

# kellerkinder.mysqlPort
Sets the MySQL port.

_This has to be an int_

*_Example_*
```
kellerkinder.mysqlPort = 3307;
```

# kellerkinder.adminerPort
Sets the Adminer port.

_This has to be an int_

*_Example_*
```
kellerkinder.adminerPort = 8010;
```

# kellerkinder.mailhogApiPort
Sets the Mailhog API port.

_This has to be an int_

*_Example_*
```
kellerkinder.mailhogApiPort = 8025;
```

# kellerkinder.mailhogSmtpPort
Sets the Mailhog SMTP port.

_This has to be an int_

*_Example_*
```
kellerkinder.mailhogSmtpPort = 1025;
```

# kellerkinder.mailhogUiPort
Sets the Mailhog Web UI port.

_This has to be an int_

*_Example_*
```
kellerkinder.mailhogUiPort = 8025;
```

# kellerkinder.redisPort
Sets the Redis port.

_This has to be an int_

*_Example_*
```
kellerkinder.redisPort = 6379;
```

# kellerkinder.elasticsearchPort
Sets the Elasticsearch/OpenSearch port.

_This has to be an int_

*_Example_*
```
kellerkinder.elasticsearchPort = 9200;
```

# kellerkinder.elasticsearchTcpPort
Sets the Elasticsearch/OpenSearch TCP port.

_This has to be an int_

*_Example_*
```
kellerkinder.elasticsearchTcpPort = 9300;
```

# kellerkinder.rabbitMqPort
Sets the RabbitMQ port.

_This has to be an int_

*_Example_*
```
kellerkinder.rabbitMqPort = 5672;
```

# kellerkinder.rabbitMqManagementPluginPort
Sets the RabbitMQ management plugin port.

_This has to be an int_

*_Example_*
```
kellerkinder.rabbitMqManagementPluginPort = 15672;
```
120 changes: 2 additions & 118 deletions docs/Options.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,122 +166,6 @@ Enables the MySQL Binary Log and adds configuration for it.
kellerkinder.enableMysqlBinLog = false;
```

# kellerkinder.httpPort
Sets the http port for caddy.

_This has to be an int_

*_Example_*
```
kellerkinder.httpPort = 8080;
```

# kellerkinder.httpsPort
Sets the https port for caddy.

_This has to be an int_

*_Example_*
```
kellerkinder.httpsPort = 8443;
```

# kellerkinder.mysqlPort
Sets the MySQL port.

_This has to be an int_

*_Example_*
```
kellerkinder.mysqlPort = 3307;
```

# kellerkinder.adminerPort
Sets the Adminer port.

_This has to be an int_

*_Example_*
```
kellerkinder.adminerPort = 8010;
```

# kellerkinder.mailhogApiPort
Sets the Mailhog API port.

_This has to be an int_

*_Example_*
```
kellerkinder.mailhogApiPort = 8025;
```

# kellerkinder.mailhogSmtpPort
Sets the Mailhog SMTP port.

_This has to be an int_

*_Example_*
```
kellerkinder.mailhogSmtpPort = 1025;
```

# kellerkinder.mailhogUiPort
Sets the Mailhog Web UI port.

_This has to be an int_

*_Example_*
```
kellerkinder.mailhogUiPort = 8025;
```

# kellerkinder.redisPort
Sets the Redis port.

_This has to be an int_

*_Example_*
```
kellerkinder.redisPort = 6379;
```

# kellerkinder.elasticsearchPort
Sets the Elasticsearch/OpenSearch port.

_This has to be an int_

*_Example_*
```
kellerkinder.elasticsearchPort = 9200;
```

# kellerkinder.elasticsearchTcpPort
Sets the Elasticsearch/OpenSearch TCP port.

_This has to be an int_

*_Example_*
```
kellerkinder.elasticsearchTcpPort = 9300;
```

# kellerkinder.rabbitMqPort
Sets the RabbitMQ port.

_This has to be an int_

*_Example_*
```
kellerkinder.rabbitMqPort = 5672;
```

# kellerkinder.rabbitMqManagementPluginPort
Sets the RabbitMQ management plugin port.

_This has to be an int_

*_Example_*
```
kellerkinder.rabbitMqManagementPluginPort = 15672;
```
# Ports
The configurable ports can be found [here](Options-Ports.md)
4 changes: 3 additions & 1 deletion docs/Update.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@
...
```
* The following configuration types have been changed from `string` to `ìnt`: `kellerkinder.httpPort` and `kellerkinder.httpsPort`
* This is also the case for every other port configuration
* For stability reasons, we use the stable branch `nixos-23.11` instead of `nixos-unstable` in our examples.

## v2.0.0
* If you still want to use custom ports, take a look at the [options](Options.md#kellerkinder-httpPort).
* We changed the default ports for `http` to `80` and `https` to `443`
* If you still want to use custom ports, take a look at the [options](Options-Ports.md#kellerkinder-httpPort).
* You have to adjust your `devenv.yaml` to
```yml
...
Expand Down
2 changes: 1 addition & 1 deletion examples/sw5/devenv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ inputs:
nixpkgs:
url: github:NixOS/nixpkgs/nixos-23.11
kellerkinder:
url: github:kellerkinderDE/devenv-shopware?ref=v2.1.0
url: github:kellerkinderDE/devenv-shopware?ref=v2.1.1
flake: false
phps:
url: github:fossar/nix-phps
Expand Down
2 changes: 1 addition & 1 deletion examples/sw6/devenv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ inputs:
nixpkgs:
url: github:NixOS/nixpkgs/nixos-23.11
kellerkinder:
url: github:kellerkinderDE/devenv-shopware?ref=v2.1.0
url: github:kellerkinderDE/devenv-shopware?ref=v2.1.1
flake: false
froshpkgs:
url: github:FriendsOfShopware/nur-packages
Expand Down

0 comments on commit ec633e3

Please sign in to comment.