mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-30 16:45:29 +03:00
14 lines
411 B
Python
14 lines
411 B
Python
|
#!/usr/bin/python3 -B
|
||
|
|
||
|
from entrypoint_helpers import env, gen_cfg, gen_container_id, exec_app
|
||
|
|
||
|
|
||
|
RUN_USER = env['run_user']
|
||
|
RUN_GROUP = env['run_group']
|
||
|
CROWD_INSTALL_DIR = env['crowd_install_dir']
|
||
|
CROWD_HOME = env['crowd_home']
|
||
|
|
||
|
gen_cfg('server.xml.j2', f'{CROWD_INSTALL_DIR}/apache-tomcat/conf/server.xml')
|
||
|
|
||
|
exec_app([f'{CROWD_INSTALL_DIR}/start_crowd.sh', '-fg'], CROWD_HOME, name='Crowd', env_cleanup=True)
|