This repository was archived by the owner on Jun 27, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +23
-2
lines changed Expand file tree Collapse file tree 3 files changed +23
-2
lines changed Original file line number Diff line number Diff line change
1
+ FROM python:3.10-slim-bullseye
2
+
3
+ WORKDIR /usr/src/app
4
+
5
+ COPY ./server/requirements.txt ./
6
+ RUN pip install --no-cache-dir -r requirements.txt
7
+
8
+ COPY ./server ./server
9
+
10
+ CMD ["./server/start_server.sh" ]
Original file line number Diff line number Diff line change
1
+ version : " 3.7"
2
+ services :
3
+ destructive-farm :
4
+ build : .
5
+ ports :
6
+ - " 5000:5000"
7
+ volumes :
8
+ - type : bind
9
+ source : ./server/config.py
10
+ target : /opt/app/static/config.py
11
+ restart : unless-stopped
Original file line number Diff line number Diff line change 1
1
import datetime
2
2
import requests , json
3
3
4
- IGNORED_TEAMS = [0 ,5 ]
4
+ IGNORED_TEAMS = [0 ,11 ]
5
5
6
6
CONFIG = {
7
7
# Don't forget to remove the old database (flags.sqlite) before each competition.
25
25
'SYSTEM_PROTOCOL' : 'ccit_http' ,
26
26
'SYSTEM_HOST' : '127.0.0.1' ,
27
27
'SYSTEM_PORT' : 4444 ,
28
- 'SYSTEM_TOKEN' : '5fe56451972cb2e8be0703412981a718 ' ,
28
+ 'SYSTEM_TOKEN' : 'c8807a2b534f55d87c858d2fd6e4b251 ' ,
29
29
'SYSTEM_URL' : 'http://10.10.0.1:8080/flags' ,
30
30
'FLAG_IDS_URL' : 'http://10.10.0.1:8081/flagIds' ,
31
31
You can’t perform that action at this time.
0 commit comments