forked from kookmin-sw/cap-template
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from younganswer/main
[Feature]
- Loading branch information
Showing
5 changed files
with
139 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
name: Task 템플릿 | ||
about: 새로운 Task 등록 | ||
title: "[Feat] 작업내용" | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
> ### ISSUE | ||
> * Type: `Feature`, `Fix`, `Test` | ||
> * Detail: Fix actions from client redux | ||
> | ||
> ### TODO | ||
> 1. [ ] Job1 | ||
> 2. [ ] Job2 | ||
> 3. [ ] Job3 | ||
> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
## 📌 개요 <!-- PR내용에 대해 축약해서 적어주세요. --> | ||
- | ||
## 💻 작업사항 <!-- PR내용에 대해 상세설명이 필요하다면 이 부분에 기재 해주세요. --> | ||
- | ||
## ✅ 변경로직 <!-- 고친 사항을 적어주세요. 재PR 시에만 사용해 주세요! (재PR 아닌 경우 삭제) --> | ||
- |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.DS_Store |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
DOCKER_COMPOSE = docker compose -f ./src/docker-compose.yml | ||
|
||
up: | ||
@${DOCKER_COMPOSE} up --build -d | ||
|
||
down: | ||
@${DOCKER_COMPOSE} down | ||
|
||
start: | ||
@${DOCKER_COMPOSE} start | ||
|
||
stop: | ||
@${DOCKER_COMPOSE} stop | ||
|
||
logs: | ||
@${DOCKER_COMPOSE} logs | ||
|
||
prune: | ||
@docker system prune -af 2>/dev/null || true | ||
|
||
.PHONY: up down stop start fclean | ||
|
||
.NOTPARALLEL: up down stop start fclean |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
version: "3.9" | ||
|
||
services: | ||
mongodb: | ||
container_name: mongodb | ||
image: mongodb | ||
build: | ||
context: ./service/mongodb | ||
dockerfile: Dockerfile | ||
env_file: | ||
- ./service/mongodb/.env | ||
volumes: | ||
- mongodb_volume:/data/db | ||
networks: | ||
- hey_listen_to_this | ||
restart: unless-stopped | ||
tty: true | ||
nestjs: | ||
container_name: nestjs | ||
build: | ||
context: ./service/nestjs | ||
dockerfile: Dockerfile | ||
env_file: | ||
- ./service/nestjs/.env | ||
volumes: | ||
- nestjs_src_volume:/app/src | ||
networks: | ||
- hey_listen_to_this | ||
restart: unless-stopped | ||
tty: true | ||
depends_on: | ||
- mongodb | ||
nextjs: | ||
container_name: nextjs | ||
build: | ||
context: ./service/nextjs | ||
dockerfile: Dockerfile | ||
env_file: | ||
- ./service/nextjs/.env | ||
volumes: | ||
- nextjs_src_volume:/app/src | ||
networks: | ||
- hey_listen_to_this | ||
restart: unless-stopped | ||
tty: true | ||
depends_on: | ||
- nestjs | ||
nginx: | ||
container_name: nginx | ||
build: | ||
context: ./service/nginx | ||
dockerfile: Dockerfile | ||
env_file: | ||
- ./service/nginx/.env | ||
ports: | ||
- 80:80 | ||
- 443:443 | ||
networks: | ||
- hey_listen_to_this | ||
restart: unless-stopped | ||
tty: true | ||
depends_on: | ||
- nextjs | ||
|
||
volumes: | ||
mongodb_volume: | ||
name: mongodb_volume | ||
driver: local | ||
driver_opts: | ||
type: none | ||
o: bind | ||
device: ./service/mongodb/db | ||
nestjs_src_volume: | ||
name: nestjs_src_volume | ||
driver: local | ||
driver_opts: | ||
type: none | ||
o: bind | ||
device: ./service/nestjs/src | ||
nextjs_src_volume: | ||
name: nextjs_src_volume | ||
driver: local | ||
driver_opts: | ||
type: none | ||
o: bind | ||
device: ./service/nextjs/src | ||
|
||
networks: | ||
hey_listen_to_this: | ||
name: hey_listen_to_this | ||
driver: bridge |