diff --git a/.gitignore b/.gitignore index 2f85b08..01d9ebb 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ .editorconfig .env .gitattributes +.phpunit.result.cache vendor/ web/.csslintrc web/.eslintignore @@ -39,7 +40,3 @@ web/web.config .env docker-compose.override.yaml - -/bin/ -/libraries/ -/web/profiles/contrib/ diff --git a/Dockerfile b/Dockerfile index c83003d..d1a0562 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,7 +34,7 @@ RUN apt-get update -yqq \ RUN docker-php-ext-configure gd --with-jpeg -RUN docker-php-ext-install bcmath gd pdo_mysql zip +RUN docker-php-ext-install bcmath gd opcache pdo_mysql zip COPY --chown=app:app phpunit.xml* ./ diff --git a/docker-compose.yaml b/docker-compose.yaml index fa1f56c..f6453f6 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -5,10 +5,12 @@ x-proxy: &default-proxy - default - web labels: + - "traefik.enable=true" - "traefik.docker.network=traefik_proxy" - "traefik.http.routers.${COMPOSE_PROJECT_NAME}.rule=Host( - `${COMPOSE_PROJECT_NAME}.localhost`, + `${COMPOSE_PROJECT_NAME}.docker.localhost`, )" + - "traefik.http.routers.${COMPOSE_PROJECT_NAME}.tls=true" x-app: &default-app volumes: @@ -24,7 +26,7 @@ x-app: &default-app cpus: "${DOCKER_MYSQL_CPUS:-0}" memory: "${DOCKER_MYSQL_MEMORY:-0}" labels: - - "traefik.enabled=false" + - "traefik.enable=false" tty: true services: @@ -63,7 +65,7 @@ services: env_file: - .env labels: - - "traefik.enabled=false" + - "traefik.enable=false" environment: MYSQL_RANDOM_ROOT_PASSWORD: true profiles: [database]