borgmatic/tests/end-to-end/docker-compose.yaml

65 lines
1.6 KiB
YAML
Raw Permalink Normal View History

services:
postgresql:
image: docker.io/postgres:13.1-alpine
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
mariadb:
image: docker.io/mariadb:10.11.4
environment:
MARIADB_ROOT_PASSWORD: test
MARIADB_DATABASE: test
mariadb2:
image: docker.io/mariadb:10.11.4
2023-06-18 02:17:35 +02:00
environment:
MARIADB_ROOT_PASSWORD: test2
MARIADB_DATABASE: test
2023-06-23 00:11:49 +02:00
command: docker-entrypoint.sh --port=3307
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:
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
tests:
image: docker.io/alpine:3.13
environment:
TEST_CONTAINER: true
volumes:
- "../..:/app"
tmpfs:
- "/app/borgmatic.egg-info"
- "/app/build"
tty: true
working_dir: /app
entrypoint: /app/scripts/run-full-tests
depends_on:
- postgresql
2023-06-18 02:17:35 +02:00
- postgresql2
- mariadb
- mariadb2
2023-03-29 00:31:37 +02:00
- mongodb
2023-06-18 02:17:35 +02:00
- mongodb2