Skip to content

Commit

Permalink
fix redis password can't have special chars
Browse files Browse the repository at this point in the history
  • Loading branch information
ericwang401 committed Aug 26, 2023
1 parent e965e1b commit 92f5df3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ This file is a running track of new features and fixes to each version of the pa

This project follows [Semantic Versioning](http://semver.org) guidelines.

## v4.0.0-beta

### Additions

- Added IP pools and overhauled IP Address Management (IPAM)

### Changes

- Switched out MySQL for PostgreSQL (pending)

### Fixes

- Fixed inability to use special characters for Redis password

## v3.10.1-beta

### Fixes
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ services:
redis:
image: redis:7.0-alpine
restart: unless-stopped
command: redis-server --save 60 1 --loglevel notice --requirepass ${REDIS_PASSWORD}
command: redis-server --save 60 1 --loglevel notice --requirepass '${REDIS_PASSWORD}'
ports:
- 6379:6379
workers:
Expand Down
5 changes: 3 additions & 2 deletions routes/api-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,12 @@
Route::resource('address-pools', Admin\AddressPools\AddressPoolController::class)
->only(['index', 'show', 'store', 'update', 'destroy']);
Route::prefix('/address-pools/{address_pool}')->group(function () {
Route::resource('addresses', Admin\AddressPools\AddressController::class)
->only(['index', 'store', 'update', 'destroy']);
Route::get('/nodes', [Admin\AddressPools\AddressPoolController::class, 'getNodesAllocatedTo']);
});

Route::resource('address-pools.addresses', Admin\AddressPools\AddressController::class)
->only(['index', 'store', 'update', 'destroy']);

Route::resource('users', Admin\UserController::class)
->only(['index', 'show', 'store', 'update', 'destroy']);

Expand Down

0 comments on commit 92f5df3

Please sign in to comment.