2019-12-12 01:43:01 +01:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
postgresql:
|
2023-04-10 23:26:54 +02:00
|
|
|
image: docker.io/postgres:13.1-alpine
|
2019-12-12 01:43:01 +01:00
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: test
|
|
|
|
POSTGRES_DB: test
|
2023-06-18 02:17:35 +02:00
|
|
|
postgresql2:
|
|
|
|
image: docker.io/postgres:13.1-alpine
|
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: test2
|
|
|
|
POSTGRES_DB: test
|
2023-06-23 00:11:49 +02:00
|
|
|
command: docker-entrypoint.sh -p 5433
|
2023-08-04 22:22:44 +02:00
|
|
|
mariadb:
|
|
|
|
image: docker.io/mariadb:10.11.4
|
2019-12-12 01:43:01 +01:00
|
|
|
environment:
|
2023-08-04 22:22:44 +02:00
|
|
|
MARIADB_ROOT_PASSWORD: test
|
|
|
|
MARIADB_DATABASE: test
|
|
|
|
mariadb2:
|
|
|
|
image: docker.io/mariadb:10.11.4
|
2023-06-18 02:17:35 +02:00
|
|
|
environment:
|
2023-08-04 22:22:44 +02:00
|
|
|
MARIADB_ROOT_PASSWORD: test2
|
|
|
|
MARIADB_DATABASE: test
|
2023-06-23 00:11:49 +02:00
|
|
|
command: docker-entrypoint.sh --port=3307
|
2023-08-14 21:43:21 +02:00
|
|
|
not-actually-mysql:
|
|
|
|
image: docker.io/mariadb:10.11.4
|
|
|
|
environment:
|
|
|
|
MARIADB_ROOT_PASSWORD: test
|
|
|
|
MARIADB_DATABASE: test
|
|
|
|
not-actually-mysql2:
|
|
|
|
image: docker.io/mariadb:10.11.4
|
|
|
|
environment:
|
|
|
|
MARIADB_ROOT_PASSWORD: test2
|
|
|
|
MARIADB_DATABASE: test
|
|
|
|
command: docker-entrypoint.sh --port=3307
|
2021-12-29 22:18:50 +01:00
|
|
|
mongodb:
|
2023-04-10 23:26:54 +02: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 02:17:35 +02:00
|
|
|
mongodb2:
|
|
|
|
image: docker.io/mongo:5.0.5
|
|
|
|
environment:
|
|
|
|
MONGO_INITDB_ROOT_USERNAME: root2
|
|
|
|
MONGO_INITDB_ROOT_PASSWORD: test2
|
2023-06-23 00:11:49 +02:00
|
|
|
command: docker-entrypoint.sh --port=27018
|
2019-12-12 01:43:01 +01:00
|
|
|
tests:
|
2023-04-10 23:26:54 +02:00
|
|
|
image: docker.io/alpine:3.13
|
2023-03-28 21:02:07 +02:00
|
|
|
environment:
|
|
|
|
TEST_CONTAINER: true
|
2019-12-12 01:43:01 +01:00
|
|
|
volumes:
|
2024-03-06 20:10:20 +01:00
|
|
|
- "../..:/app"
|
2019-12-12 06:24:37 +01:00
|
|
|
tmpfs:
|
|
|
|
- "/app/borgmatic.egg-info"
|
2023-04-15 08:22:07 +02:00
|
|
|
- "/app/build"
|
2019-12-12 01:43:01 +01:00
|
|
|
tty: true
|
|
|
|
working_dir: /app
|
2023-03-25 00:24:00 +01:00
|
|
|
entrypoint: /app/scripts/run-full-tests
|
2019-12-12 01:43:01 +01:00
|
|
|
depends_on:
|
|
|
|
- postgresql
|
2023-06-18 02:17:35 +02:00
|
|
|
- postgresql2
|
2023-08-04 22:22:44 +02:00
|
|
|
- mariadb
|
|
|
|
- mariadb2
|
2023-03-29 00:31:37 +02:00
|
|
|
- mongodb
|
2023-06-18 02:17:35 +02:00
|
|
|
- mongodb2
|