postgres version

This commit is contained in:
Your Name
2025-10-22 21:57:07 +03:00
commit 1aff196155
31 changed files with 10962 additions and 0 deletions

12
server/start_docker.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
# Get port from config.py
PORT=$(python3 -c "from config import CONFIG; print(CONFIG.get('SYSTEM_PORT'))")
WEB_PORT=$(python3 -c "from config import CONFIG; print(CONFIG.get('PORT'))")
# Build and run docker with port forwarding
if [ "$1" = "--build" ]; then
docker build -t pb_farm .
fi
docker run --rm -p $PORT:$PORT pb_farm