summaryrefslogtreecommitdiff
path: root/tests/docker/compose.integration.mysql.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/docker/compose.integration.mysql.yaml')
-rw-r--r--tests/docker/compose.integration.mysql.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/docker/compose.integration.mysql.yaml b/tests/docker/compose.integration.mysql.yaml
new file mode 100644
index 00000000..6eda5eec
--- /dev/null
+++ b/tests/docker/compose.integration.mysql.yaml
@@ -0,0 +1,27 @@
+version: '2'
+services:
+ mysql:
+ image: mysql:5.7
+ environment:
+ MYSQL_ROOT_PASSWORD: "kanboard"
+ MYSQL_DATABASE: "kanboard"
+ MYSQL_USER: "kanboard"
+ MYSQL_PASSWORD: "kanboard"
+ ports:
+ - "3306:3306"
+ app:
+ build:
+ context: ../..
+ dockerfile: tests/docker/Dockerfile.xenial
+ ports:
+ - "8000:80"
+ depends_on:
+ - mysql
+ command: config-mysql
+ tests:
+ build:
+ context: ../..
+ dockerfile: tests/docker/Dockerfile.xenial
+ depends_on:
+ - app
+ command: integration-test-mysql