You've already forked Traefik-Redis-Api
28 lines
736 B
Markdown
28 lines
736 B
Markdown
# Traefik Redis Provider API
|
|
|
|
## Dev Environment
|
|
|
|
```shell
|
|
export PHP_IDE_CONFIG=serverName=localhost
|
|
```
|
|
|
|
```shell
|
|
docker run --rm -v $(PWD):/app siteworxpro/composer install --ignore-platform-reqs
|
|
```
|
|
|
|
```shell
|
|
docker run --rm -v $(PWD):/app siteworxpro/composer run tests:all
|
|
```
|
|
### migrations
|
|
create a new migration
|
|
```shell
|
|
docker run --rm -v $(PWD):/app siteworxpro/migrate:v4.18.3 create -ext sql -dir /app/db/migrations -seq create_users_table
|
|
```
|
|
|
|
```text
|
|
postgres://siteworxpro:password@localhost:5432/siteworxpro?sslmode=disable
|
|
```
|
|
|
|
```shell
|
|
docker run --rm -v $(PWD):/app siteworxpro/migrate:v4.18.3 -database "postgres://siteworxpro:password@localhost:5432/siteworxpro?sslmode=disable" -path /app/db/migrations up
|
|
``` |