mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2025-11-29 16:38:35 +00:00
run redis as service
This commit is contained in:
parent
dc53cd76d4
commit
ffdd1865bb
7
.github/workflows/coverage.yml
vendored
7
.github/workflows/coverage.yml
vendored
@ -32,6 +32,10 @@ jobs:
|
|||||||
--health-retries 5
|
--health-retries 5
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
|
mcaptcha-redis:
|
||||||
|
image: mcaptcha/cache
|
||||||
|
ports:
|
||||||
|
- 6379:6379
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -45,9 +49,6 @@ jobs:
|
|||||||
target
|
target
|
||||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
|
||||||
- name: run mcaptcha cache redis instance
|
|
||||||
run: docker run -d -p 6379:6379 mcaptcha/cache
|
|
||||||
|
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '14.x'
|
node-version: '14.x'
|
||||||
|
|||||||
8
.github/workflows/linux.yml
vendored
8
.github/workflows/linux.yml
vendored
@ -33,6 +33,11 @@ jobs:
|
|||||||
--health-retries 5
|
--health-retries 5
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
|
mcaptcha-redis:
|
||||||
|
image: mcaptcha/cache
|
||||||
|
ports:
|
||||||
|
- 6379:6379
|
||||||
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -50,9 +55,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '14.x'
|
node-version: '14.x'
|
||||||
|
|
||||||
- name: run mcaptcha cache redis instance
|
|
||||||
run: docker run -d -p 6379:6379 mcaptcha/cache
|
|
||||||
|
|
||||||
- name: Install JavaScript Dependencies
|
- name: Install JavaScript Dependencies
|
||||||
run: yarn install
|
run: yarn install
|
||||||
|
|
||||||
|
|||||||
@ -46,5 +46,5 @@ pool = 4
|
|||||||
# port = "5432"
|
# port = "5432"
|
||||||
# username = "batman"
|
# username = "batman"
|
||||||
# password = "somereallycomplicatedBatmanpassword"
|
# password = "somereallycomplicatedBatmanpassword"
|
||||||
url = "redis://127.0.0.1:6370"
|
url = "redis://127.0.0.1"
|
||||||
pool = 4
|
pool = 4
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user