borgmatic/tests/end-to-end/docker-compose.yaml
Dan Helfman c6cb21a748
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Switch to read-only container filesystem to avoid *.pyc getting created with busted permissions.
2019-12-11 21:24:37 -08:00

26 lines
507 B
YAML

version: '3'
services:
postgresql:
image: postgres:11.6-alpine
environment:
POSTGRES_PASSWORD: test
POSTGRES_DB: test
mysql:
image: mariadb:10.4
environment:
MYSQL_ROOT_PASSWORD: test
MYSQL_DATABASE: test
tests:
image: python:3.7-alpine3.10
volumes:
- "../..:/app:ro"
tmpfs:
- "/app/borgmatic.egg-info"
tty: true
working_dir: /app
command:
- /app/scripts/run-full-tests
depends_on:
- postgresql
- mysql