This commit is contained in:
Ilyastarcek
2025-11-07 15:57:27 +03:00
parent 1aff196155
commit e9cf63c1fb
14 changed files with 10232 additions and 10232 deletions

View File

@@ -11,7 +11,7 @@ services:
# - security_net # - security_net
restart: "always" restart: "always"
ports: ports:
- "${FARM_PORT}:8000" - "3333:8000"
postgres: postgres:
image: postgres:18 image: postgres:18

View File

@@ -6,4 +6,4 @@ WORKDIR /app
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
CMD ["./start_server.sh"] ENTRYPOINT ["/app/start_server.sh"]

View File

@@ -27,7 +27,7 @@ def post_flags():
db = database.get() db = database.get()
cursor = db.cursor() cursor = db.cursor()
cursor.executemany("INSERT OR IGNORE INTO flags (flag, sploit, team, time, status) " cursor.executemany("INSERT INTO flags (flag, sploit, team, time, status) "
"VALUES (%s, %s, %s, %s, %s)", rows) "VALUES (%s, %s, %s, %s, %s)", rows)
db.commit() db.commit()