mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-11-14 03:07:18 +00:00
Update project to comply user separation
This commit is contained in:
parent
4234919902
commit
0e342e2f2c
@ -8,4 +8,5 @@ crp_config:
|
||||
controller:
|
||||
ports: ["4444/controller"]
|
||||
solvable:
|
||||
capabilities: ["SETUID", "SETGID", "CHOWN", "AUDIT_WRITE", "DAC_OVERRIDE"]
|
||||
ports: ["8888/http"]
|
||||
|
@ -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}
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
[program:event_handler_main]
|
||||
user=root
|
||||
directory=%(ENV_TFW_APP_DIR)s
|
||||
command=python3 event_handler_main.py
|
||||
|
Loading…
Reference in New Issue
Block a user