docker compose (Ready) :
- nginx
- proxy_pass on port 5000
- static available at url "xxxx/static/<file>
- djangoserver
- just a program with infinite while for test docker-compose
Nginx and Djangoserv containers linked with the folder at "/var/wwww/djangoserver"
This commit is contained in:
5
srcs/requirements/djangoserver/file/server/main.py
Normal file
5
srcs/requirements/djangoserver/file/server/main.py
Normal file
@ -0,0 +1,5 @@
|
||||
import time
|
||||
|
||||
while True:
|
||||
print("Update")
|
||||
time.sleep(20)
|
||||
Reference in New Issue
Block a user