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/node-platform:10 | |
ENV NUXT_HOST=0.0.0.0 |
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 |
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/node-platform:10 | |
ENV TZ=Asia/Tehran | |
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone |
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
mongodump --uri 'mongodb://USERNAME:PASSWORD@HOST:PORT/DB_NAME?authSource=admin' -o my-backup |
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
mongodb://USERNAME:PASSWORD@HOST:PORT/DB_NAME?authSource=admin |
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 cptactionhank/atlassian-jira-software:8.1.0 | |
COPY ./cracks/atlassian-extras-3.2.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/atlassian-extras-3.2.jar | |
COPY ./cracks/atlassian-universal-plugin-manager-plugin-4.0.1.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/atlassian-bundled-plugins/atlassian-universal-plugin-manager-plugin-4.0.1.jar |
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
stages: | |
- deploy | |
deploy: | |
stage: deploy | |
image: node:10 | |
script: | |
- npm i -g @liara/cli | |
- liara deploy --api-token $API_TOKEN --no-project-logs |
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
let result=[]; | |
let stream = liaraClient.listObjects('ic-default-barber','', true); | |
stream.on('data', (obj) => { | |
result.push(obj.name); | |
}); | |
stream.on('end', () => { | |
res.json({result: result}); | |
}); |
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
"build": "NODE_ENV=production node_modules/.bin/webpack --config webpack.config.js" |
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
{ | |
"laravel": { | |
"postBuildCommands": [ | |
"a2enmod expires" | |
] | |
} | |
} |