adding validated services? patching forcad_local.py
This commit is contained in:
4
ctfcup24-school-ad/services/filtranator/db/Dockerfile
Normal file
4
ctfcup24-school-ad/services/filtranator/db/Dockerfile
Normal file
@@ -0,0 +1,4 @@
|
||||
FROM postgres
|
||||
ENV TZ=Europe/Moscow
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
COPY db.sql /docker-entrypoint-initdb.d/database.sql
|
||||
6
ctfcup24-school-ad/services/filtranator/db/db.sql
Normal file
6
ctfcup24-school-ad/services/filtranator/db/db.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
CREATE TABLE Users (
|
||||
username VARCHAR(256) NOT NULL,
|
||||
password VARCHAR(256) NOT NULL
|
||||
);
|
||||
|
||||
INSERT INTO Users (username,password) VALUES ('Test','Test')
|
||||
Reference in New Issue
Block a user