#1247 #1248 Feat: Cypress UI testing + Postgres Arg for installer

This commit is contained in:
Varun 2023-10-25 16:19:02 +11:00
parent a8dcbd7a19
commit ad4c2fac22

View file

@ -1,33 +1,33 @@
version: "3.7" version: "3.7"
services: services:
# mariadb: mariadb:
# image: mariadb:10.6 image: docker.io/mariadb:10.6
# command: command:
# - --character-set-server=utf8mb4 - --character-set-server=utf8mb4
# - --collation-server=utf8mb4_unicode_ci - --collation-server=utf8mb4_unicode_ci
# - --skip-character-set-client-handshake - --skip-character-set-client-handshake
# - --skip-innodb-read-only-compressed # Temporary fix for MariaDB 10.6 - --skip-innodb-read-only-compressed # Temporary fix for MariaDB 10.6
# environment:
# MYSQL_ROOT_PASSWORD: 123
# volumes:
# - mariadb-data:/var/lib/mysql
# Enable PostgreSQL only if you use it, see development/README.md for more information.
postgresql:
image: postgres:11.8
environment: environment:
POSTGRES_PASSWORD: 123 MYSQL_ROOT_PASSWORD: 123
volumes: volumes:
- postgresql-data:/var/lib/postgresql/data - mariadb-data:/var/lib/mysql
# # Enable PostgreSQL only if you use it, see development/README.md for more information.
# postgresql:
# image: postgres:11.8
# environment:
# POSTGRES_PASSWORD: 123
# volumes:
# - postgresql-data:/var/lib/postgresql/data
redis-cache: redis-cache:
image: redis:alpine image: docker.io/redis:alpine
redis-queue: redis-queue:
image: redis:alpine image: docker.io/redis:alpine
frappe: frappe:
image: frappe/bench:latest image: docker.io/frappe/bench:latest
command: sleep infinity command: sleep infinity
environment: environment:
- SHELL=/bin/bash - SHELL=/bin/bash
@ -46,7 +46,7 @@ services:
# it can find file "cypress.json" and show integration specs # it can find file "cypress.json" and show integration specs
# https://on.cypress.io/command-line#cypress-open # https://on.cypress.io/command-line#cypress-open
entrypoint: 'sleep infinity' entrypoint: 'sleep infinity'
image: "cypress/included:latest" image: "docker.io/cypress/included:latest"
#command: sleep infinity #command: sleep infinity
environment: environment:
- SHELL=/bin/bash - SHELL=/bin/bash
@ -65,5 +65,5 @@ services:
- ..:/workspace:z,cached - ..:/workspace:z,cached
network_mode: "host" network_mode: "host"
volumes: volumes:
#mariadb-data: mariadb-data:
postgresql-data: #postgresql-data: