mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
replace pwd
This commit is contained in:
parent
d50007975c
commit
5891245c45
11
.github/workflows/pr_checks.yaml
vendored
11
.github/workflows/pr_checks.yaml
vendored
@ -24,6 +24,7 @@ env:
|
||||
INVENTREE_STATIC_ROOT: ./static
|
||||
|
||||
INVENTREE_DB_USER: inventree
|
||||
INVENTREE_DB_PASSWORD: password
|
||||
|
||||
|
||||
jobs:
|
||||
@ -207,7 +208,7 @@ jobs:
|
||||
env:
|
||||
INVENTREE_DB_ENGINE: django.db.backends.postgresql
|
||||
INVENTREE_DB_USER: ${{ env.INVENTREE_DB_USER }}
|
||||
INVENTREE_DB_PASSWORD: password
|
||||
INVENTREE_DB_PASSWORD: ${{ env.INVENTREE_DB_PASSWORD }}
|
||||
INVENTREE_DB_HOST: '127.0.0.1'
|
||||
INVENTREE_DB_PORT: 5432
|
||||
INVENTREE_DEBUG: info
|
||||
@ -218,7 +219,7 @@ jobs:
|
||||
image: postgres
|
||||
env:
|
||||
POSTGRES_USER: ${{ env.INVENTREE_DB_USER }}
|
||||
POSTGRES_PASSWORD: password
|
||||
POSTGRES_PASSWORD: ${{ env.INVENTREE_DB_PASSWORD }}
|
||||
ports:
|
||||
- 5432:5432
|
||||
|
||||
@ -261,7 +262,7 @@ jobs:
|
||||
# Database backend configuration
|
||||
INVENTREE_DB_ENGINE: django.db.backends.mysql
|
||||
INVENTREE_DB_USER: root
|
||||
INVENTREE_DB_PASSWORD: password
|
||||
INVENTREE_DB_PASSWORD: ${{ env.INVENTREE_DB_PASSWORD }}
|
||||
INVENTREE_DB_HOST: '127.0.0.1'
|
||||
INVENTREE_DB_PORT: 3306
|
||||
INVENTREE_DEBUG: info
|
||||
@ -273,8 +274,8 @@ jobs:
|
||||
MYSQL_ALLOW_EMPTY_PASSWORD: yes
|
||||
MYSQL_DATABASE: ${{ env.INVENTREE_DB_NAME }}
|
||||
MYSQL_USER: ${{ env.INVENTREE_DB_USER }}
|
||||
MYSQL_PASSWORD: password
|
||||
MYSQL_ROOT_PASSWORD: password
|
||||
MYSQL_PASSWORD: ${{ env.INVENTREE_DB_PASSWORD }}
|
||||
MYSQL_ROOT_PASSWORD: ${{ env.INVENTREE_DB_PASSWORD }}
|
||||
options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3
|
||||
ports:
|
||||
- 3306:3306
|
||||
|
Loading…
Reference in New Issue
Block a user