Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-28 06:10:28 +01:00
91 Zeilen
2,2 KiB
Bash
91 Zeilen
2,2 KiB
Bash
|
##################################################################
|
||
|
### Shared Playwright conf test file Vaultwarden and Databases ###
|
||
|
##################################################################
|
||
|
|
||
|
ENV=test
|
||
|
DC_ENV_FILE=test.env
|
||
|
COMPOSE_IGNORE_ORPHANS=True
|
||
|
DOCKER_BUILDKIT=1
|
||
|
|
||
|
#####################
|
||
|
# Playwright Config #
|
||
|
#####################
|
||
|
PW_KEEP_SERVICE_RUNNNING=${PW_KEEP_SERVICE_RUNNNING:-false}
|
||
|
VAULTWARDEN_SMTP_FROM=vaultwarden@playwright.test
|
||
|
|
||
|
#####################
|
||
|
# Maildev Config #
|
||
|
#####################
|
||
|
MAILDEV_HTTP_PORT=1081
|
||
|
MAILDEV_SMTP_PORT=1026
|
||
|
MAILDEV_HOST=127.0.0.1
|
||
|
|
||
|
################
|
||
|
# Users Config #
|
||
|
################
|
||
|
TEST_USER=test
|
||
|
TEST_USER_PASSWORD=Master Password
|
||
|
TEST_USER_MAIL=${TEST_USER}@example.com
|
||
|
|
||
|
TEST_USER2=test2
|
||
|
TEST_USER2_PASSWORD=Master Password
|
||
|
TEST_USER2_MAIL=${TEST_USER2}@example.com
|
||
|
|
||
|
TEST_USER3=test3
|
||
|
TEST_USER3_PASSWORD=Master Password
|
||
|
TEST_USER3_MAIL=${TEST_USER3}@example.com
|
||
|
|
||
|
###################
|
||
|
# Keycloak Config #
|
||
|
###################
|
||
|
KEYCLOAK_ADMIN=admin
|
||
|
KEYCLOAK_ADMIN_PASSWORD=${KEYCLOAK_ADMIN}
|
||
|
KC_HTTP_HOST=127.0.0.1
|
||
|
KC_HTTP_PORT=8081
|
||
|
|
||
|
# Script parameters (use Keycloak and VaultWarden config too)
|
||
|
TEST_REALM=test
|
||
|
DUMMY_REALM=dummy
|
||
|
DUMMY_AUTHORITY=http://${KC_HTTP_HOST}:${KC_HTTP_PORT}/realms/${DUMMY_REALM}
|
||
|
|
||
|
######################
|
||
|
# Vaultwarden Config #
|
||
|
######################
|
||
|
ROCKET_PORT=8003
|
||
|
DOMAIN=http://127.0.0.1:${ROCKET_PORT}
|
||
|
SMTP_SECURITY=off
|
||
|
SMTP_PORT=${MAILDEV_SMTP_PORT}
|
||
|
SMTP_FROM_NAME=Vaultwarden
|
||
|
SMTP_TIMEOUT=5
|
||
|
|
||
|
SSO_CLIENT_ID=VaultWarden
|
||
|
SSO_CLIENT_SECRET=VaultWarden
|
||
|
SSO_AUTHORITY=http://${KC_HTTP_HOST}:${KC_HTTP_PORT}/realms/${TEST_REALM}
|
||
|
SSO_PKCE=true
|
||
|
|
||
|
###########################
|
||
|
# Docker MariaDb container#
|
||
|
###########################
|
||
|
MARIADB_PORT=3307
|
||
|
MARIADB_ROOT_PASSWORD=vaultwarden
|
||
|
MARIADB_USER=vaultwarden
|
||
|
MARIADB_PASSWORD=vaultwarden
|
||
|
MARIADB_DATABASE=vaultwarden
|
||
|
|
||
|
###########################
|
||
|
# Docker Mysql container#
|
||
|
###########################
|
||
|
MYSQL_PORT=3309
|
||
|
MYSQL_ROOT_PASSWORD=vaultwarden
|
||
|
MYSQL_USER=vaultwarden
|
||
|
MYSQL_PASSWORD=vaultwarden
|
||
|
MYSQL_DATABASE=vaultwarden
|
||
|
|
||
|
############################
|
||
|
# Docker Postgres container#
|
||
|
############################
|
||
|
POSTGRES_PORT=5433
|
||
|
POSTGRES_USER=vaultwarden
|
||
|
POSTGRES_PASSWORD=vaultwarden
|
||
|
POSTGRES_DB=vaultwarden
|