First Commit

This commit is contained in:
2023-09-10 23:50:05 +04:00
commit 6d45d1c604
61 changed files with 19953 additions and 0 deletions

1
config/app.env.example Normal file
View File

@@ -0,0 +1 @@
SECRET_KEY="SECRET_KEY"

23
config/nginx.conf Normal file
View File

@@ -0,0 +1,23 @@
upstream app_server{
server app:8000;
}
server{
listen 80;
server_name ui.aykhans.me;
location / {
proxy_pass http://app_server;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_redirect off;
}
location /static/ {
alias /static/;
}
location /media/ {
alias /media/;
}
}

View File

@@ -0,0 +1,5 @@
POSTGRES_USER="POSTGRES_USER"
POSTGRES_PASSWORD="POSTGRES_PASSWORD"
POSTGRES_SERVER="POSTGRES_PASSWORD"
POSTGRES_PORT=5432
POSTGRES_DB="POSTGRES_PASSWORD"