moving to local

This commit is contained in:
voje 2019-04-22 20:32:06 +02:00
parent ef1d25786a
commit 4a435d5b28
7 changed files with 11 additions and 9 deletions

View File

@ -1 +1 @@
/home/kristjan/kres_data/payload/kres_json/ /home/kristjan/workdir/final_json/

View File

@ -1 +0,0 @@
/home/kristjan/workdir/final_json/

View File

@ -0,0 +1 @@
/home/kristjan/kres_data/payload/kres_json/

View File

@ -1 +1 @@
/home/kristjan/kres_data/payload/kres_xml/ /home/kristjan/kres_mount/kres_parsed/tei/

View File

@ -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 \

View File

@ -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"]))

View File

@ -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"
--- ---