forked from GunGonGamLee/ft_transcendence
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build : hashicorpvault 비활성화 / nginx modsecurity 비활성화 / Makefile 추가 / …
…mkcert 인증서 발급 및 iMAC 환경에서 trust 하도록 설정 / daphne는 해결 못함
- Loading branch information
sejokim
committed
Feb 13, 2024
1 parent
4e4f57e
commit 522edfb
Showing
8 changed files
with
94 additions
and
59 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
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 | ||
|
||
|
||
all : up | ||
|
||
up : | ||
$(DOCKER_COMPOSE) up --build | ||
|
||
clean : | ||
$(DOCKER_COMPOSE) down -v | ||
|
||
re : clean all | ||
|
||
fclean: clean | ||
docker system prune | ||
|
||
show: | ||
docker ps -a | tail -n +1; echo | ||
docker images | tail -n +1; echo | ||
docker network ls | tail -n +1; echo | ||
docker volume ls | tail -n +1; echo | ||
|
||
.PHONY: all up clean show 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
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 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 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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
#!/bin/sh | ||
|
||
#python manage.py collectstatic --noinput | ||
python manage.py collectstatic --noinput | ||
|
||
#exec gunicorn --bind 0.0.0.0:8000 src.wsgi:application | ||
|
||
# exec daphne -p 8000 src.asgi:application | ||
|
||
exec python3 manage.py runserver 0.0.0.0:8000 |
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 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