Skip to content

Instantly share code, notes, and snippets.

@eunsukimme
eunsukimme / Dockerfile.app
Last active March 4, 2025 13:08
Configuration Files for Logging System wigh Docker-elk, Filebeat and Node.js
FROM node:12
WORKDIR /app
COPY ./package*.json ./
RUN npm install
ENV PORT=4000
COPY . .
CMD ["npm","run","start"]
@sthalik
sthalik / build.txt
Created December 21, 2019 16:36
appveyor ci for opentrack
set -e
git submodule update --init
mkdir build; cd build
git clone --depth 1 --recurse-submodules --shallow-submodules \
https://github.com/opentrack/opentrack-depends deps
mkdep deps/aruco -DCMAKE_CXX_FLAGS="-w -O3"
@TheRealCasadaro
TheRealCasadaro / Code 365 Startup Lab Release Schedule.md
Last active July 30, 2021 10:08
he Scheduled Production and Release Of Content To The Code 365 Startup Lab

The Scheduled Production and Release Of Content To The Code 365 Startup Lab

Where aspiring developrenuers learn to write code for fun and profit

HTML Beyond The Primer ( In Development )

Current Completion Schedule: Oct 2019

  1. A basic HTML Document ( Online )
  2. The HTML Head Section, Head Element, and Attributes ( Online )
@xeoncross
xeoncross / Dockerfile1
Last active April 9, 2024 05:20
Examples of using multi-stage builds with docker and Go to reduce the final image size / attack surface.
# Sample from @citizen428 https://dev.to/citizen428/comment/6cmh
FROM golang:alpine as build
RUN apk add --no-cache ca-certificates
WORKDIR /build
ADD . .
RUN CGO_ENABLED=0 GOOS=linux \
go build -ldflags '-extldflags "-static"' -o app
FROM scratch
COPY --from=build /etc/ssl/certs/ca-certificates.crt \
@markheath
markheath / docker-compose-v1.yml
Last active February 4, 2025 09:18
Elasticsearch docker compose examples
version: '2.2'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.4.1
container_name: elasticsearch
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits: