Added: Tandoor for recipes

This commit is contained in:
2023-01-02 12:23:09 +05:30
parent 4cfffeaebd
commit 77d5fa8eda
5 changed files with 147 additions and 0 deletions

7
tandoor/files/.env Normal file
View File

@ -0,0 +1,7 @@
SECRET_KEY=7ukvcoUnuyhPK6Nds3KbwG+3zeYuJGTDyi0ohFJqMwgjrdwBxn%
DB_ENGINE=django.db.backends.postgresql
POSTGRES_HOST=db
POSTGRES_PORT=5432
POSTGRES_USER=postgres
POSTGRES_PASSWORD=123456
POSTGRES_DB=tandoor

View File

@ -0,0 +1,13 @@
server {
listen 80;
server_name {{ http_host }};
location / {
proxy_pass http://localhost:8880;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}