1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-11-12 19:47:18 +00:00

Update project to comply user separation

This commit is contained in:
Kristóf Tóth 2018-04-04 17:44:14 +02:00
parent 4234919902
commit 0e342e2f2c
3 changed files with 2 additions and 2 deletions

View File

@ -8,4 +8,5 @@ crp_config:
controller:
ports: ["4444/controller"]
solvable:
capabilities: ["SETUID", "SETGID", "CHOWN", "AUDIT_WRITE", "DAC_OVERRIDE"]
ports: ["8888/http"]

View File

@ -14,6 +14,4 @@ RUN chown -R ${AVATAO_USER} ${TFW_WEBIDE_WD} &&\
chmod -R 755 ${TFW_WEBIDE_WD}
VOLUME ["/home/${AVATAO_USER}"]
USER ${AVATAO_USER}
WORKDIR /home/${AVATAO_USER}

View File

@ -1,3 +1,4 @@
[program:event_handler_main]
user=root
directory=%(ENV_TFW_APP_DIR)s
command=python3 event_handler_main.py