mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 14:08:42 +00:00
fix: 1c8b2f817c
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d09d4c5686
commit
884ee66e16
@ -19,9 +19,9 @@ RUN sh web/install.sh -p && echo "\
|
|||||||
if [ ! -f \"/var/uoj_data/.UOJSetupDone\" ]; then\n\
|
if [ ! -f \"/var/uoj_data/.UOJSetupDone\" ]; then\n\
|
||||||
cd /opt/uoj/web && sh install.sh -i\n\
|
cd /opt/uoj/web && sh install.sh -i\n\
|
||||||
fi\n\
|
fi\n\
|
||||||
cd /opt/uoj/web && sh install.sh -d\
|
|
||||||
service ntp start\n\
|
service ntp start\n\
|
||||||
service apache2 start\n\
|
service apache2 start\n\
|
||||||
|
cd /opt/uoj/web && sh install.sh -d\n\
|
||||||
exec bash\n" >/opt/up && chmod +x /opt/up
|
exec bash\n" >/opt/up && chmod +x /opt/up
|
||||||
|
|
||||||
ENV LANG=C.UTF-8 TZ=Asia/Shanghai
|
ENV LANG=C.UTF-8 TZ=Asia/Shanghai
|
||||||
|
@ -7,10 +7,10 @@ _database_host_="${DATABASE_HOST:-uoj-db}"
|
|||||||
_database_password_="${DATABASE_PASSWORD:-root}"
|
_database_password_="${DATABASE_PASSWORD:-root}"
|
||||||
_judger_socket_port_="${JUDGER_SOCKET_PORT:-2333}"
|
_judger_socket_port_="${JUDGER_SOCKET_PORT:-2333}"
|
||||||
_judger_socket_password_="${JUDGER_SOCKET_PASSWORD:-_judger_socket_password_}"
|
_judger_socket_password_="${JUDGER_SOCKET_PASSWORD:-_judger_socket_password_}"
|
||||||
_salt0_="${SALT0:-_salt0_}"
|
_salt0_="${SALT_0:-_salt0_}"
|
||||||
_salt1_="${SALT1:-_salt1_}"
|
_salt1_="${SALT_1:-_salt1_}"
|
||||||
_salt2_="${SALT2:-_salt2_}"
|
_salt2_="${SALT_2:-_salt2_}"
|
||||||
_salt3_="${SALT3:-_salt3_}"
|
_salt3_="${SALT_3:-_salt3_}"
|
||||||
_uoj_protocol_="${UOJ_PROTOCOL:-http}"
|
_uoj_protocol_="${UOJ_PROTOCOL:-http}"
|
||||||
|
|
||||||
getAptPackage(){
|
getAptPackage(){
|
||||||
|
Loading…
Reference in New Issue
Block a user