adding docker and docker compose file to running project, configurate nginx.conf file for DNS

This commit is contained in:
behruz-dev
2025-11-16 10:43:32 +05:00
parent 586b0cc321
commit a267e4c45c
10 changed files with 179 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
file=/tmp/db-$(/usr/bin/date +\%Y-%m-%d-%H:%M:%S).sql
container=postgres
/usr/bin/docker container exec $container pg_dump -U postgres django > $file
mc cp $file b2/buket-name
rm $file