feat(all): first commit
This commit is contained in:
14
files/images/hydra-sql/base/Dockerfile
Normal file
14
files/images/hydra-sql/base/Dockerfile
Normal file
@ -0,0 +1,14 @@
|
||||
ARG PHP_PKG_VERSION="8.1.19-r0"
|
||||
ARG INSTALL_COMPOSER_DEPENDENCIES="0"
|
||||
ARG INSTALL_NPM_DEPENDENCIES="0"
|
||||
ARG ADDITIONAL_PACKAGES="git openssl php81-pdo_pgsql=${PHP_PKG_VERSION}"
|
||||
|
||||
|
||||
FROM reg.cadoles.com/cadoles/symfony:alpine-php-8.1-base
|
||||
|
||||
ARG WORKDIR="files/images/hydra-sql/base"
|
||||
|
||||
RUN wget -O- -q --no-check-certificate https://forge.cadoles.com/Cadoles/Jenkins/raw/branch/master/resources/com/cadoles/common/add-letsencrypt-ca.sh | bash
|
||||
|
||||
RUN git clone "https://forge.cadoles.com/Cadoles/hydra-sql.git" /app/hydra-sql
|
||||
RUN mv /app/hydra-sql/* /app/
|
23
files/images/hydra-sql/base/config/000-default.conf
Normal file
23
files/images/hydra-sql/base/config/000-default.conf
Normal file
@ -0,0 +1,23 @@
|
||||
<VirtualHost *:80>
|
||||
DocumentRoot /var/www/public
|
||||
|
||||
SetEnv APP_DEBUG ${APP_DEBUG}
|
||||
SetEnv APP_ENV ${APP_ENV}
|
||||
SetEnv HYDRA_ADMIN_BASE_URL ${HYDRA_ADMIN_BASE_URL}
|
||||
SetEnv ASSETS_BASE_URL ${ASSETS_BASE_URL}
|
||||
|
||||
<Directory /var/www/public>
|
||||
AllowOverride None
|
||||
Order Allow,Deny
|
||||
Allow from All
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule ^(.*)$ index.php [QSA,L]
|
||||
</IfModule>
|
||||
</Directory>
|
||||
|
||||
CustomLog /dev/stdout combined
|
||||
ErrorLog /dev/stderr
|
||||
</VirtualHost>
|
Reference in New Issue
Block a user