forked from kristjan/cjvt-valency
moving to local
This commit is contained in:
parent
ef1d25786a
commit
4a435d5b28
|
@ -1 +1 @@
|
||||||
/home/kristjan/kres_data/payload/kres_json/
|
/home/kristjan/workdir/final_json/
|
|
@ -1 +0,0 @@
|
||||||
/home/kristjan/workdir/final_json/
|
|
1
data/kres_json_folder_link_t420
Symbolic link
1
data/kres_json_folder_link_t420
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/home/kristjan/kres_data/payload/kres_json/
|
|
@ -1 +1 @@
|
||||||
/home/kristjan/kres_data/payload/kres_xml/
|
/home/kristjan/kres_mount/kres_parsed/tei/
|
|
@ -11,13 +11,14 @@ run:
|
||||||
- docker rm $(CNNAME)
|
- docker rm $(CNNAME)
|
||||||
docker run \
|
docker run \
|
||||||
-it \
|
-it \
|
||||||
-v /home/${USER}:/home/${USER} \
|
|
||||||
--user $(shell id -u):$(shell id -g) \
|
|
||||||
-v /etc/passwd:/etc/passwd \
|
|
||||||
-v /etc/group:/etc/group \
|
|
||||||
-v $(MAKE_ROOT):/project \
|
-v $(MAKE_ROOT):/project \
|
||||||
-w /project \
|
-w /project \
|
||||||
--net host \
|
--net host \
|
||||||
--name $(CNNAME) \
|
--name $(CNNAME) \
|
||||||
$(IMAGE_NAME) \
|
$(IMAGE_NAME) \
|
||||||
/bin/bash
|
/bin/bash
|
||||||
|
|
||||||
|
# --user $(shell id -u):$(shell id -g) \
|
||||||
|
# -v /home/${USER}:/home/${USER} \
|
||||||
|
# -v /etc/passwd:/etc/passwd \
|
||||||
|
# -v /etc/group:/etc/group \
|
||||||
|
|
|
@ -502,7 +502,7 @@ if __name__ == "__main__":
|
||||||
username=args.dbuser,
|
username=args.dbuser,
|
||||||
password=args.dbpass,
|
password=args.dbpass,
|
||||||
authSource="valdb",
|
authSource="valdb",
|
||||||
authMechanism='SCRAM-SHA-256'
|
authMechanism='SCRAM-SHA-1'
|
||||||
)
|
)
|
||||||
valdb = client.valdb
|
valdb = client.valdb
|
||||||
|
|
||||||
|
@ -517,3 +517,4 @@ if __name__ == "__main__":
|
||||||
log.info("[*] Starting app.py with config:\n{}".format(config))
|
log.info("[*] Starting app.py with config:\n{}".format(config))
|
||||||
|
|
||||||
app.run(host=str(config["host"]), port=int(config["port"]))
|
app.run(host=str(config["host"]), port=int(config["port"]))
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
debug: True
|
debug: True
|
||||||
port: 5004
|
port: 8084
|
||||||
host: localhost
|
host: localhost
|
||||||
logfile: "/var/log/valency_backend.log"
|
logfile: "/var/log/valency_backend.log"
|
||||||
---
|
---
|
||||||
|
|
Loading…
Reference in New Issue
Block a user