This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WORDPRESS_DB_HOST=s1.liara.ir:PORT | |
WORDPRESS_DB_USER=test | |
WORDPRESS_DB_PASSWORD=secret |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:7.2-apache | |
COPY . /var/www/html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') { | |
$_SERVER['HTTPS'] = 'on'; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM microsoft/dotnet:aspnetcore-runtime | |
WORKDIR /app | |
COPY . /app | |
ENTRYPOINT ["dotnet", "coretest1.dll"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM thecodingmachine/php:7.2-v2-apache-node8 | |
ENV APACHE_DOCUMENT_ROOT=/public \ | |
TEMPLATE_PHP_INI=production \ | |
PHP_EXTENSIONS="amqp bcmath calendar exif gd gettext \ | |
gmp gnupg igbinary imagick imap intl ldap mcrypt memcached \ | |
mongodb pcntl pdo_dblib pdo_pgsql pgsql sockets yaml" | |
USER root |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:10 | |
WORKDIR /app | |
COPY . . | |
RUN npm install && npm run --if-present build | |
CMD npm start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM thecodingmachine/php:7.2-v2-apache-node8 | |
ENV APACHE_DOCUMENT_ROOT=/public \ | |
TEMPLATE_PHP_INI=production \ | |
PHP_EXTENSIONS="amqp bcmath calendar exif gd gettext \ | |
gmp gnupg igbinary imagick imap intl ldap mcrypt memcached \ | |
mongodb pcntl pdo_dblib pdo_pgsql pgsql sockets yaml" | |
USER root |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const headers = { 'response-content-disposition': 'attachment; filename=myfile.mp3' }; | |
liaraClient.presignedGetObject(bucketName, objectName, expires, headers); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gzip on; | |
gzip_min_length 1000; | |
gzip_proxied expired no-cache no-store private auth; | |
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript; | |
location / { | |
index index.html index.htm; | |
if ($scheme = http) { | |
return 301 https://www.$host$request_uri; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM liararepo/laravel-platform:frontend | |
FROM liararepo/laravel-platform:backend | |
RUN chgrp -R www-data /var/www/html/lib/vendor | |
RUN chmod -R ug+rwx /var/www/html/lib/vendor |