This file contains 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
# The base image we want to inherit from | |
FROM python:3.7.7-slim-buster | |
ENV DJANGO_ENV=${DJANGO_ENV} \ | |
# python: | |
PYTHONFAULTHANDLER=1 \ | |
PYTHONUNBUFFERED=1 \ | |
PYTHONHASHSEED=random \ | |
# pip: | |
PIP_NO_CACHE_DIR=off \ |
This file contains 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
version: "3" | |
services: | |
strapi: | |
build: | |
context: ./ | |
container_name: strapi_cms | |
env_file: .env | |
restart: unless-stopped | |
environment: |
This file contains 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: | |
- build | |
- deploy | |
variables: | |
S3_BUCKET: "bucket" | |
S3_ARCHIVE_PATH_PROD: "production/" | |
build: | |
image: docker:latest |
This file contains 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
version: '3' | |
services: | |
server: | |
image: registry.gitlab.com/commento/commento | |
ports: | |
- 8080:8080 | |
environment: | |
COMMENTO_ORIGIN: https://commento.domain.com | |
COMMENTO_PORT: 8080 |
This file contains 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
version: '2' | |
services: | |
remark: | |
image: umputun/remark42:latest | |
container_name: "remark42" | |
hostname: "remark42" | |
restart: always | |
logging: |
This file contains 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
import AdminBro from 'admin-bro'; | |
import * as AdminBroExpress from '@admin-bro/express'; | |
import * as dotenv from 'dotenv'; | |
import { ProfileEntity } from './modules/profile/entities/profile.entity'; | |
import { Database, Resource } from '@admin-bro/typeorm'; | |
import { validate } from 'class-validator'; | |
import { createConnection } from 'typeorm'; | |
import { AppModule } from './app.module'; | |
import { NestFactory } from '@nestjs/core'; |
This file contains 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
... | |
this.extendRoutes((routes, resolve) => { | |
const routePaths = Object.assign({ | |
admin: resolve(__dirname, './templates/pages/index.vue') | |
}) | |
routes.push({ | |
name: 'route_name', | |
path: '/' + 'route_name', | |
component: routePaths.admin | |
}) |
This file contains 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
<template> | |
<div> | |
<input | |
type="text" | |
placeholder="Search Your Interest" | |
@input="debounceSearch()" | |
v-model="searchInput" | |
/> | |
</div> | |
</template> |
This file contains 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
0 |
This file contains 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
#!/bin/bash | |
echo "Updating system..." | |
sudo apt update | |
echo "Installing dependencies..." | |
sudo apt install -y apt-transport-https ca-certificates curl software-properties-common | |
echo "Downloading data..." | |
sudo apt install -y curl |
NewerOlder