From 8733562c2806c572e27bbfa74ed68f602fb25097 Mon Sep 17 00:00:00 2001 From: Benjamin Arias Date: Thu, 17 Nov 2022 16:25:23 +0100 Subject: [PATCH] wip --- site/a11y/asqatasun/docker-compose.yml | 30 ++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 site/a11y/asqatasun/docker-compose.yml diff --git a/site/a11y/asqatasun/docker-compose.yml b/site/a11y/asqatasun/docker-compose.yml new file mode 100644 index 000000000..15174d01e --- /dev/null +++ b/site/a11y/asqatasun/docker-compose.yml @@ -0,0 +1,30 @@ +version: "3.8" +services: + asqatasun-db: + platform: linux/amd64 + image: mysql:5.7 + environment: + MYSQL_RANDOM_ROOT_PASSWORD: "yes" + MYSQL_USER: "${DB_USER:-asqatasunDatabaseUserLogin}" + MYSQL_PASSWORD: "${DB_PASSWORD:-asqatasunDatabaseUserP4ssword}" + MYSQL_DATABASE: "${DB_DATABASE:-asqatasun}" + ports: + - "${DB_HOST_IP:-0.0.0.0}:${DB_HOST_PORT:-3306}:${DB_PORT:-3306}" + + asqatasun: + image: asqatasun/asqatasun:latest + links: + - asqatasun-db + depends_on: + - asqatasun-db + environment: + DB_DRIVER: "${DB_DRIVER:-mysql}" + DB_PORT: "${DB_PORT:-3306}" + DB_HOST: "${DB_HOST:-asqatasun-db}" + DB_USER: "${DB_USER:-asqatasunDatabaseUserLogin}" + DB_PASSWORD: "${DB_PASSWORD:-asqatasunDatabaseUserP4ssword}" + DB_DATABASE: "${DB_DATABASE:-asqatasun}" + ports: + - "${APP_HOST_IP:-0.0.0.0}:${APP_HOST_PORT:-8080}:8080" + expose: + - "8080" \ No newline at end of file