From a4fd714f2d81d2476fdfc174db6d1da842606157 Mon Sep 17 00:00:00 2001 From: Ludovico Pavesi Date: Mon, 29 Apr 2024 21:52:21 +0200 Subject: [PATCH] Improve docker compose --- tests/docker-compose.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/tests/docker-compose.yml b/tests/docker-compose.yml index 0ba1fc4..3485059 100644 --- a/tests/docker-compose.yml +++ b/tests/docker-compose.yml @@ -1,15 +1,13 @@ -version: "5" +version: "6" services: dirsrv: image: 389ds/dirsrv:3.0 ports: - "3389:3389" - volumes: - - "/var/www/html:/var/www/html" - - "/home/some_user/web/apache2_faildumps.conf:/etc/apache2/conf-enabled/apache2_faildumps.conf" environment: - DS_SUFFIX_NAME: "dc=example,dc=test" - DS_DM_PASSWORD: "asd" + DS_SUFFIX_NAME: "dc=example,dc=test" + DS_DM_PASSWORD: "asd" + tests: image: python:3 # Add "; bash" at the end to get a shell where you can re-run the tests