Skip to content

Instantly share code, notes, and snippets.

View igorkamyshev's full-sized avatar
🍷
Quiet

Igor Kamyşev igorkamyshev

🍷
Quiet
View GitHub Profile
@igorkamyshev
igorkamyshev / docker-compose.yml
Last active January 17, 2023 15:52
docker-gen + letsencrypt-nginx-proxy-companion
version: '3'
services:
nginx-web:
image: nginx
labels:
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
container_name: ${NGINX_WEB:-nginx-web}
restart: always
ports:
- "${IP:-0.0.0.0}:80:80"
@igorkamyshev
igorkamyshev / cd.yml
Last active July 2, 2019 09:55
Medium — Breadhead — CD
version: 2
jobs:
# ...
build_and_push:
docker:
# Для билда контейнера нам нужен только докер
- image: docker:17.05.0-ce-git
working_directory: ~/repo
@igorkamyshev
igorkamyshev / ci.yml
Last active July 17, 2019 20:28
Medium — Breadhead — CI
version: 2
jobs:
lint:
docker:
# Все проверки мы раним на последней стабильной версии Node.js
- image: circleci/node:10.16.0
working_directory: ~/repo
steps:
@igorkamyshev
igorkamyshev / package.json
Created January 18, 2019 19:17
TS, npm, template
{
...,
"main": "dist/index.js",
"scripts": {
"build": "rimraf dist && tsc",
"prepare": "yarn build",
"ci": "yarn types && yarn test && yarn lint",
"test": "jest",
"types": "tsc --noEmit lib",
"lint": "tslint -p tsconfig.json -c tslint.json",