commit 8cdf0b63e0e742770372113375e202b5aa19cfab Author: Christian Wolf <git@christianwolf.email> Date: Wed Feb 26 15:11:51 2025 +0100 Create basic test environment using docker diff --git a/test-instance/docker-compose.yml b/test-instance/docker-compose.yml new file mode 100644 index 0000000..ede2fac --- /dev/null +++ b/test-instance/docker-compose.yml @@ -0,0 +1,30 @@ +version: '3.1' + +volumes: + db: + +services: + joomla: + # image: joomla + build: joomla + # restart: always + links: + - db:mysql + ports: + - 8002:80 + volumes: + - ./volumes/joomla:/var/www/html + - ../template/src:/template:ro + - ../template/src:/var/www/html/templates/kita_zwergenland:ro + - ./sync:/sync:ro + environment: + JOOMLA_DB_HOST: db + JOOMLA_DB_PASSWORD: example + + db: + image: mariadb + restart: unless-stopped + volumes: + - db:/var/lib/mysql + environment: + MYSQL_ROOT_PASSWORD: example