diff --git a/crowdin.yaml b/crowdin.yaml index 76b1893ec..5c247faca 100644 --- a/crowdin.yaml +++ b/crowdin.yaml @@ -1,3 +1,9 @@ +base_url: "https://crowdin.com" +base_path: "/project/azuracast" + +project_id_env: CROWDIN_PROJECT_ID +api_token_env: CROWDIN_PERSONAL_TOKEN + files: - source: /resources/locale/default.pot translation: /resources/locale/%locale_with_underscore%.UTF-8/LC_MESSAGES/default.po diff --git a/docker-compose.testing.yml b/docker-compose.testing.yml index fe13935c2..ec58403ee 100644 --- a/docker-compose.testing.yml +++ b/docker-compose.testing.yml @@ -5,8 +5,5 @@ services: image: azuracast_cli:latest build: context: ./util/docker/testing - environment: - LANG: en_US.UTF-8 - APPLICATION_ENV: "testing" volumes: - .:/var/azuracast/www \ No newline at end of file diff --git a/util/docker/testing/Dockerfile b/util/docker/testing/Dockerfile index 81dc30e8e..5a8b2f695 100644 --- a/util/docker/testing/Dockerfile +++ b/util/docker/testing/Dockerfile @@ -1,6 +1,10 @@ FROM azuracast/azuracast_web_v2:latest +RUN apt-get update \ + && apt-get install -q -y php7.4-xdebug + ENV PATH="${PATH}:/var/azuracast/.composer/vendor/bin" -RUN apt-get update \ - && apt-get install -q -y php7.4-xdebug \ No newline at end of file +ENV LANG="en_US.UTF-8" \ + APPLICATION_ENV="testing" + diff --git a/util/docker/web_with_profiling/Dockerfile b/util/docker/web_with_profiling/Dockerfile deleted file mode 100644 index 84d8f9a71..000000000 --- a/util/docker/web_with_profiling/Dockerfile +++ /dev/null @@ -1,9 +0,0 @@ -FROM azuracast/azuracast_web:latest - -RUN version=$(php -r "echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;") \ - && curl -A "Docker" -o /tmp/blackfire-probe.tar.gz -D - -L -s https://blackfire.io/api/v1/releases/probe/php/linux/amd64/$version \ - && mkdir -p /tmp/blackfire \ - && tar zxpf /tmp/blackfire-probe.tar.gz -C /tmp/blackfire \ - && mv /tmp/blackfire/blackfire-*.so $(php -r "echo ini_get('extension_dir');")/blackfire.so \ - && printf "extension=blackfire.so\nblackfire.agent_socket=tcp://blackfire:8707\n" > /etc/php/7.4/fpm/conf.d/blackfire.ini \ - && rm -rf /tmp/blackfire /tmp/blackfire-probe.tar.gz