2019-12-11 16:43:01 -08:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
postgresql:
|
2023-04-10 14:26:54 -07:00
|
|
|
image: docker.io/postgres:13.1-alpine
|
2019-12-11 16:43:01 -08:00
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: test
|
|
|
|
POSTGRES_DB: test
|
2023-06-18 05:47:35 +05:30
|
|
|
postgresql2:
|
|
|
|
image: docker.io/postgres:13.1-alpine
|
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: test2
|
|
|
|
POSTGRES_DB: test
|
|
|
|
POSTGRES_USER: postgres2
|
2023-06-22 15:11:49 -07:00
|
|
|
command: docker-entrypoint.sh -p 5433
|
2019-12-11 16:43:01 -08:00
|
|
|
mysql:
|
2023-04-10 14:26:54 -07:00
|
|
|
image: docker.io/mariadb:10.5
|
2019-12-11 16:43:01 -08:00
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: test
|
|
|
|
MYSQL_DATABASE: test
|
2023-06-18 05:47:35 +05:30
|
|
|
mysql2:
|
|
|
|
image: docker.io/mariadb:10.5
|
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: test2
|
|
|
|
MYSQL_DATABASE: test
|
2023-06-22 15:11:49 -07:00
|
|
|
command: docker-entrypoint.sh --port=3307
|
2021-12-29 22:18:50 +01:00
|
|
|
mongodb:
|
2023-04-10 14:26:54 -07:00
|
|
|
image: docker.io/mongo:5.0.5
|
2021-12-29 22:18:50 +01:00
|
|
|
environment:
|
|
|
|
MONGO_INITDB_ROOT_USERNAME: root
|
|
|
|
MONGO_INITDB_ROOT_PASSWORD: test
|
2023-06-18 05:47:35 +05:30
|
|
|
mongodb2:
|
|
|
|
image: docker.io/mongo:5.0.5
|
|
|
|
environment:
|
|
|
|
MONGO_INITDB_ROOT_USERNAME: root2
|
|
|
|
MONGO_INITDB_ROOT_PASSWORD: test2
|
2023-06-22 15:11:49 -07:00
|
|
|
command: docker-entrypoint.sh --port=27018
|
2019-12-11 16:43:01 -08:00
|
|
|
tests:
|
2023-04-10 14:26:54 -07:00
|
|
|
image: docker.io/alpine:3.13
|
2023-03-28 12:02:07 -07:00
|
|
|
environment:
|
|
|
|
TEST_CONTAINER: true
|
2019-12-11 16:43:01 -08:00
|
|
|
volumes:
|
2019-12-11 21:24:37 -08:00
|
|
|
- "../..:/app:ro"
|
|
|
|
tmpfs:
|
|
|
|
- "/app/borgmatic.egg-info"
|
2023-04-14 23:22:07 -07:00
|
|
|
- "/app/build"
|
2019-12-11 16:43:01 -08:00
|
|
|
tty: true
|
|
|
|
working_dir: /app
|
2023-03-24 16:24:00 -07:00
|
|
|
entrypoint: /app/scripts/run-full-tests
|
|
|
|
command: --end-to-end-only
|
2019-12-11 16:43:01 -08:00
|
|
|
depends_on:
|
|
|
|
- postgresql
|
2023-06-18 05:47:35 +05:30
|
|
|
- postgresql2
|
2019-12-11 16:43:01 -08:00
|
|
|
- mysql
|
2023-06-18 05:47:35 +05:30
|
|
|
- mysql2
|
2023-03-28 15:31:37 -07:00
|
|
|
- mongodb
|
2023-06-18 05:47:35 +05:30
|
|
|
- mongodb2
|