Commit 3c40ec48 authored by Manfred Rutschmann's avatar Manfred Rutschmann
Browse files

[TASK] initial release

parents
---
name: ec2-18-193-204-133.aws
type: typo3
docroot: web
php_version: "7.4"
webserver_type: nginx-fpm
router_http_port: "80"
router_https_port: "443"
provider: default
use_dns_when_possible: true
webimage_extra_packages: [zsh, cron, graphicsmagick]
nfs_mount_enabled: true
mysql_version: "5.7"
timezone: "Europe/Berlin"
composer_version: "2"
TYPO3_CONTEXT='Production'
DB_CONNECTION_DEFAULT_DBNAME='db'
DB_CONNECTION_DEFAULT_HOST='db'
DB_CONNECTION_DEFAULT_USER='db'
DB_CONNECTION_DEFAULT_PASSWORD='db'
BE_TYPO3_INSTALL_TOOL_PASSWORD='$argon2i$v=19$m=65536,t=16,p=1$Q2pGU2dCRHVaUkcvTy9WWQ$reUG4W3s9wpgxVK6bSkx9f6ohrP+zzn0iFG3+PGzHHY'
TYPO3_TRUSTED_HOST_PATTERN='example.com|www.example.com'
GFX_PROCESSOR_PATH='/usr/bin/'
GFX_PROCESSOR_PATH_LZW='/usr/bin/'
GFX_PROCESSOR='GraphicsMagick'
SOLR_HOST_READ='solr'
SOLR_PATH_READ='/solr/'
SOLR_PORT_READ='8983'
SOLR_SCHEME_READ='http'
SOLR_DE_CORE='testcore_de'
MAIL_defaultMailFromAddress='noreply@example.com'
MAIL_defaultMailFromName='Example Industries'
MAIL_transport='smtp'
MAIL_transport_sendmail_command='/usr/sbin/sendmail -t -i'
MAIL_transport_smtp_encrypt='false'
MAIL_transport_smtp_password=''
MAIL_transport_smtp_server='localhost:1025'
MAIL_transport_smtp_username=''
DDEV_SYS=1
BASE_DOMAIN='https://www.example.com'
NGINX_SERVER_NAME=example.com
\ No newline at end of file
/Build/Docker/solr/data/data/
/Build/Docker/solr/data/filestore/
/Build/Docker/solr/data/userfiles/
/.env
/web/
!/web/typo3conf/LocalConfiguration.php
!/web/typo3conf/AdditionalConfiguration.php
/web/typo3conf/
/vendor/
/var/
stages:
- deploy
release production:
stage: deploy
image: ubuntu:latest
before_script:
- apt-get update
- 'command -v ssh-agent >/dev/null || ( apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
script:
- ssh ubuntu@example.com "cd /var/www/html/ &&
git config pull.rebase false &&
git checkout master &&
git pull origin master &&
docker-compose exec -T php composer install &&
docker-compose exec -T php composer du &&
docker-compose exec -T php composer ext-setup &&
docker-compose build &&
docker-compose down &&
docker-compose up -d"
tags:
- docker
only:
- master
# Default ignored files
/shelf/
/workspace.xml
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/typo3-docker-ec2-template.iml" filepath="$PROJECT_DIR$/.idea/typo3-docker-ec2-template.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="PhpIncludePathManager">
<include_path>
<path value="$PROJECT_DIR$/vendor/composer" />
<path value="$PROJECT_DIR$/vendor/solarium/solarium" />
<path value="$PROJECT_DIR$/vendor/matthiasmullie/minify" />
<path value="$PROJECT_DIR$/vendor/matthiasmullie/path-converter" />
<path value="$PROJECT_DIR$/vendor/phpdocumentor/reflection-docblock" />
<path value="$PROJECT_DIR$/vendor/phpdocumentor/type-resolver" />
<path value="$PROJECT_DIR$/vendor/phpdocumentor/reflection-common" />
<path value="$PROJECT_DIR$/vendor/typo3fluid/fluid" />
<path value="$PROJECT_DIR$/vendor/guzzlehttp/guzzle" />
<path value="$PROJECT_DIR$/vendor/guzzlehttp/psr7" />
<path value="$PROJECT_DIR$/vendor/guzzlehttp/promises" />
<path value="$PROJECT_DIR$/vendor/cogpowered/finediff" />
<path value="$PROJECT_DIR$/vendor/webmozart/assert" />
<path value="$PROJECT_DIR$/vendor/ralouphie/getallheaders" />
<path value="$PROJECT_DIR$/vendor/doctrine/deprecations" />
<path value="$PROJECT_DIR$/vendor/doctrine/event-manager" />
<path value="$PROJECT_DIR$/vendor/doctrine/instantiator" />
<path value="$PROJECT_DIR$/vendor/doctrine/annotations" />
<path value="$PROJECT_DIR$/vendor/doctrine/dbal" />
<path value="$PROJECT_DIR$/vendor/doctrine/lexer" />
<path value="$PROJECT_DIR$/vendor/doctrine/cache" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-intl-grapheme" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-mbstring" />
<path value="$PROJECT_DIR$/vendor/symfony/console" />
<path value="$PROJECT_DIR$/vendor/symfony/dependency-injection" />
<path value="$PROJECT_DIR$/vendor/symfony/cache-contracts" />
<path value="$PROJECT_DIR$/vendor/symfony/var-exporter" />
<path value="$PROJECT_DIR$/vendor/symfony/http-foundation" />
<path value="$PROJECT_DIR$/vendor/symfony/property-info" />
<path value="$PROJECT_DIR$/vendor/symfony/service-contracts" />
<path value="$PROJECT_DIR$/vendor/symfony/routing" />
<path value="$PROJECT_DIR$/vendor/symfony/process" />
<path value="$PROJECT_DIR$/vendor/symfony/deprecation-contracts" />
<path value="$PROJECT_DIR$/vendor/symfony/dotenv" />
<path value="$PROJECT_DIR$/vendor/symfony/string" />
<path value="$PROJECT_DIR$/vendor/helhum/typo3-console" />
<path value="$PROJECT_DIR$/vendor/symfony/mime" />
<path value="$PROJECT_DIR$/vendor/symfony/yaml" />
<path value="$PROJECT_DIR$/vendor/helhum/config-loader" />
<path value="$PROJECT_DIR$/vendor/symfony/finder" />
<path value="$PROJECT_DIR$/vendor/helhum/dotenv-connector" />
<path value="$PROJECT_DIR$/vendor/symfony/property-access" />
<path value="$PROJECT_DIR$/vendor/symfony/event-dispatcher-contracts" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-intl-normalizer" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-intl-idn" />
<path value="$PROJECT_DIR$/vendor/symfony/filesystem" />
<path value="$PROJECT_DIR$/vendor/symfony/mailer" />
<path value="$PROJECT_DIR$/vendor/symfony/event-dispatcher" />
<path value="$PROJECT_DIR$/vendor/symfony/expression-language" />
<path value="$PROJECT_DIR$/vendor/symfony/config" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php72" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php81" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-ctype" />
<path value="$PROJECT_DIR$/vendor/symfony/cache" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php80" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php73" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-intl-icu" />
<path value="$PROJECT_DIR$/vendor/egulias/email-validator" />
<path value="$PROJECT_DIR$/vendor/typo3/phar-stream-wrapper" />
<path value="$PROJECT_DIR$/vendor/typo3/class-alias-loader" />
<path value="$PROJECT_DIR$/vendor/typo3/cms-composer-installers" />
<path value="$PROJECT_DIR$/vendor/typo3/symfony-psr-event-dispatcher-adapter" />
<path value="$PROJECT_DIR$/vendor/typo3/cms-cli" />
<path value="$PROJECT_DIR$/vendor/nikic/php-parser" />
<path value="$PROJECT_DIR$/vendor/psr/http-factory" />
<path value="$PROJECT_DIR$/vendor/psr/log" />
<path value="$PROJECT_DIR$/vendor/psr/http-client" />
<path value="$PROJECT_DIR$/vendor/psr/container" />
<path value="$PROJECT_DIR$/vendor/psr/http-message" />
<path value="$PROJECT_DIR$/vendor/psr/http-server-middleware" />
<path value="$PROJECT_DIR$/vendor/psr/event-dispatcher" />
<path value="$PROJECT_DIR$/vendor/psr/http-server-handler" />
<path value="$PROJECT_DIR$/vendor/psr/cache" />
</include_path>
</component>
<component name="PhpProjectSharedConfiguration" php_language_level="7.4" />
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/vendor/composer" />
<excludeFolder url="file://$MODULE_DIR$/vendor/solarium/solarium" />
<excludeFolder url="file://$MODULE_DIR$/vendor/matthiasmullie/minify" />
<excludeFolder url="file://$MODULE_DIR$/vendor/matthiasmullie/path-converter" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/reflection-docblock" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/type-resolver" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/reflection-common" />
<excludeFolder url="file://$MODULE_DIR$/vendor/typo3fluid/fluid" />
<excludeFolder url="file://$MODULE_DIR$/vendor/guzzlehttp/guzzle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/guzzlehttp/psr7" />
<excludeFolder url="file://$MODULE_DIR$/vendor/guzzlehttp/promises" />
<excludeFolder url="file://$MODULE_DIR$/vendor/cogpowered/finediff" />
<excludeFolder url="file://$MODULE_DIR$/vendor/webmozart/assert" />
<excludeFolder url="file://$MODULE_DIR$/vendor/ralouphie/getallheaders" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/deprecations" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/event-manager" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/instantiator" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/annotations" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/dbal" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/lexer" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/cache" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-intl-grapheme" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-mbstring" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/console" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/dependency-injection" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/cache-contracts" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/var-exporter" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/http-foundation" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/property-info" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/service-contracts" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/routing" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/process" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/deprecation-contracts" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/dotenv" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/string" />
<excludeFolder url="file://$MODULE_DIR$/vendor/helhum/typo3-console" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/mime" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/yaml" />
<excludeFolder url="file://$MODULE_DIR$/vendor/helhum/config-loader" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/finder" />
<excludeFolder url="file://$MODULE_DIR$/vendor/helhum/dotenv-connector" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/property-access" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/event-dispatcher-contracts" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-intl-normalizer" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-intl-idn" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/filesystem" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/mailer" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/event-dispatcher" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/expression-language" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/config" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php72" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php81" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-ctype" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/cache" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php80" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php73" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-intl-icu" />
<excludeFolder url="file://$MODULE_DIR$/vendor/egulias/email-validator" />
<excludeFolder url="file://$MODULE_DIR$/vendor/typo3/phar-stream-wrapper" />
<excludeFolder url="file://$MODULE_DIR$/vendor/typo3/class-alias-loader" />
<excludeFolder url="file://$MODULE_DIR$/vendor/typo3/cms-composer-installers" />
<excludeFolder url="file://$MODULE_DIR$/vendor/typo3/symfony-psr-event-dispatcher-adapter" />
<excludeFolder url="file://$MODULE_DIR$/vendor/typo3/cms-cli" />
<excludeFolder url="file://$MODULE_DIR$/vendor/nikic/php-parser" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/http-factory" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/log" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/http-client" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/container" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/http-message" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/http-server-middleware" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/event-dispatcher" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/http-server-handler" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/cache" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
This diff is collapsed.
CREATE DATABASE db;
CREATE USER 'db'@'%' IDENTIFIED BY ${MYSQL_PASSWORD};
GRANT ALL PRIVILEGES ON * . * TO 'db'@'%';
FLUSH PRIVILEGES;
\ No newline at end of file
[mysqld]
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
skip-character-set-client-handshake
bind-address = 0.0.0.0
FROM php:7.4-fpm
USER root
RUN apt-get update
RUN apt-get install -y \
unzip \
iputils-ping \
imagemagick \
ghostscript
RUN docker-php-ext-enable opcache
RUN docker-php-ext-install calendar
RUN docker-php-ext-install bcmath
RUN docker-php-ext-install tokenizer
RUN docker-php-ext-install json
RUN docker-php-ext-install mysqli pdo pdo_mysql \
&& docker-php-ext-enable pdo_mysql
RUN apt-get install -y \
libonig-dev \
&& docker-php-ext-install iconv mbstring
RUN apt-get install -y \
libcurl4-openssl-dev \
&& docker-php-ext-install curl
RUN apt-get install -y \
libssl-dev \
&& docker-php-ext-install ftp phar
RUN apt-get install -y \
libicu-dev \
&& docker-php-ext-install intl
RUN apt-get install -y \
libmcrypt-dev \
&& docker-php-ext-install session
RUN apt-get install -y \
libxml2-dev \
&& docker-php-ext-install simplexml xml xmlrpc
RUN apt-get install -y \
libzip-dev \
zlib1g-dev \
&& docker-php-ext-install zip
RUN apt-get install -y \
libgmp-dev \
&& docker-php-ext-install gmp
RUN apt-get install -y \
libfreetype6-dev \
libjpeg62-turbo-dev \
libpng-dev \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install -j$(nproc) gd
RUN apt-get install -y libmagickwand-dev
RUN pecl install imagick && docker-php-ext-enable imagick
ENV COMPOSER_BINARY=/usr/local/bin/composer \
COMPOSER_HOME=/usr/local/composer
ENV PATH $PATH:$COMPOSER_HOME
RUN curl -sS https://getcomposer.org/installer | php && \
mv composer.phar $COMPOSER_BINARY && \
chmod +x $COMPOSER_BINARY
COPY php.ini /etc/php7/fpm/php.ini
COPY php.ini /etc/php7/cli/php.ini
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
WORKDIR /var/www/html
EXPOSE 9000
CMD ["php-fpm", "-F", "-c", "/etc/php7/fpm"]
\ No newline at end of file
php_admin_flag[log_errors] = on
php_flag[display_errors] = on
\ No newline at end of file
upload_max_filesize=24M
post_max_size=24M
always_populate_raw_post_data=1
max_execution_time=240
max_input_vars=4500
memory_limit=256M
extension=gd.so
\ No newline at end of file
FROM solr:8.5
MAINTAINER Timo Hund <timo.hund@dkd.de>
ENV TERM linux
USER root
RUN rm -fR /opt/solr/server/solr/*
USER solr
COPY --chown=solr:solr data/ /var/solr/data
RUN mkdir -p /var/solr/data/data
\ No newline at end of file
{
"initArgs": {
"ignoreCase": true
},
"initializedOn": "2014-04-29T23:08:57.000Z",
"managedList": [
"من",
"ومن",
"منها",
"منه",
"في",
"وفي",
"فيها",
"فيه",
"و",
"ف",
"ثم",
"او",
"أو",
"ب",
"بها",
"به",
"ا",
"أ",
"اى",
"اي",
"أي",
"أى",
"لا",
"ولا",
"الا",
"ألا",
"إلا",
"لكن",
"ما",
"وما",
"كما",
"فما",
"عن",
"مع",
"اذا",
"إذا",
"ان",
"أن",
"إن",
"انها",
"أنها",
"إنها",
"انه",
"أنه",
"إنه",
"بان",
"بأن",
"فان",
"فأن",
"وان",
"وأن",
"وإن",
"التى",
"التي",
"الذى",
"الذي",
"الذين",
"الى",
"الي",
"إلى",
"إلي",
"على",
"عليها",
"عليه",
"اما",
"أما",
"إما",
"ايضا",
"أيضا",
"كل",
"وكل",
"لم",
"ولم",
"لن",
"ولن",
"هى",
"هي",
"هو",
"وهى",
"وهي",
"وهو",
"فهى",
"فهي",
"فهو",
"انت",
"أنت",
"لك",
"لها",
"له",
"هذه",
"هذا",
"تلك",
"ذلك",
"هناك",
"كانت",
"كان",
"يكون",
"تكون",
"وكانت",
"وكان",
"غير",
"بعض",
"قد",
"نحو",
"بين",
"بينما",
"منذ",
"ضمن",
"حيث",
"الان",
"الآن",
"خلال",
"بعد",
"قبل",
"حتى",
"عند",
"عندما",
"لدى",
"جميع"
]
}
\ No newline at end of file
{
"initArgs": {
"ignoreCase": true
},
"initializedOn": "2014-04-29T23:08:58.000Z",
"managedList": [
"այդ",
"այլ",
"այն",
"այս",
"դու",
"դուք",
"եմ",
"են",
"ենք",
"ես",
"եք",
"է",
"էի",
"էին",
"էինք",
"էիր",
"էիք",
"էր",
"ըստ",
"թ",
"ի",
"ին",
"իսկ",
"իր",
"կամ",
"համար",
"հետ",
"հետո",
"մենք",
"մեջ",
"մի",
"ն",
"նա",
"նաև",
"նրա",
"նրանք",
"որ",
"որը",
"որոնք",
"որպես",
"ու",
"ում",
"պիտի",
"վրա",
"և"
]
}
\ No newline at end of file
{
"initArgs": {
"ignoreCase": true
},
"initializedOn": "2014-04-29T23:08:58.000Z",
"managedList": [
"al",
"anitz",
"arabera",
"asko",
"baina",