Skip to content

Instantly share code, notes, and snippets.

View raccoonyy's full-sized avatar
🐾
step by step

Seungho Kim raccoonyy

🐾
step by step
View GitHub Profile
@raccoonyy
raccoonyy / docker-compose.yml
Created September 22, 2022 01:15
Docker Compose for Local Kafka Cluster and Kafka-UI
version: '2'
services:
kafka-ui:
container_name: kafka-ui
image: provectuslabs/kafka-ui:latest
ports:
- 8080:8080
depends_on:
version: '3.3'
volumes:
elasticsearch:
services:
elasticsearch:
image: elasticsearch:7.6.0
volumes:
- type: bind
@raccoonyy
raccoonyy / postgres-docker.sh
Created August 15, 2019 07:42
postgres-docker
$ docker run -d \
--name db \
-p 5432:5432 \
-e POSTGRES_DB=djangodb \
-e POSTGRES_USER=django \
-e POSTGRES_PASSWORD=djangopassword \
-v $(pwd)/data:/var/lib/postgresql/data \
postgres

제안 제목

  • 제안자 : <주요 제안자 이름>[, <공동 제안자 이름> ...]
  • 제안일 : <제안한 날짜 YYYY-mm-dd>
  • 수정일 : <수정한 날짜 YYYY-mm-dd>
  • 상태 : <제안됨|진행중|반영됨|반려됨|폐기됨>
  • PR: <PR 번호>
  • Issue: <관련 이슈 번호, 저장소/이슈 포맷 사용>

요약

@raccoonyy
raccoonyy / redis.yml
Created March 6, 2018 06:12
redis settings for docker compose
version: '3.3'
services:
redis:
image: library/redis
ports:
- "6379:6379"
command: [
"sh", "-c",
"exec redis-server --requirepass rediswithodk"
@raccoonyy
raccoonyy / mailhog.yml
Created March 6, 2018 06:10
docker compose settings for mailhog
version: '3.3'
services:
mailhog:
image: mailhog/mailhog
ports:
- "8025:8025"
healthcheck:
test: ["CMD", "echo | telnet 127.0.0.1 8025"]
interval: 1m30s

Keybase proof

I hereby claim:

  • I am raccoonyy on github.
  • I am raccoony (https://keybase.io/raccoony) on keybase.
  • I have a public key ASCSAK1D3MKUAjcZmmfkpXkJ-BmxbOH5-sl_tBRblciyjwo

To claim this, I am signing this object:

@raccoonyy
raccoonyy / code_for_initial_data.py
Created May 20, 2016 02:24
실습용 데이터 생성
from product.models import Product, OrderLog
animal = Product.objects.create(name='동물동요', price=8200)
pack = Product.objects.create(name='사운드북 패키지', price=38400)
abc = Product.objects.create(name='ABC Activity', price=9900)
import datetime
may1 = datetime.datetime(2016, 4, 1)
may2 = datetime.datetime(2016, 4, 2)
may3 = datetime.datetime(2016, 4, 3)