mirror of
https://github.com/easychen/pushdeer.git
synced 2025-05-01 00:38:41 +08:00
添加session生命期
This commit is contained in:
parent
9fe176e39e
commit
68d9bdec4a
@ -10,6 +10,7 @@ COPY init.sh /opt/docker/provision/entrypoint.d/
|
|||||||
#CMD chmod +x /opt/docker/provision/entrypoint.d/init.sh
|
#CMD chmod +x /opt/docker/provision/entrypoint.d/init.sh
|
||||||
RUN echo "session.save_handler = redis\n" >> /opt/docker/etc/php/php.webdevops.ini
|
RUN echo "session.save_handler = redis\n" >> /opt/docker/etc/php/php.webdevops.ini
|
||||||
RUN echo "session.save_path = 'tcp://redis:6379'\n" >> /opt/docker/etc/php/php.webdevops.ini
|
RUN echo "session.save_path = 'tcp://redis:6379'\n" >> /opt/docker/etc/php/php.webdevops.ini
|
||||||
|
RUN echo "session.gc_maxlifetime = '259200'\n" >> /opt/docker/etc/php/php.webdevops.ini
|
||||||
|
|
||||||
# ADD supervisord-proxy.conf /opt/docker/etc/supervisor.d/prism-proxy.conf
|
# ADD supervisord-proxy.conf /opt/docker/etc/supervisor.d/prism-proxy.conf
|
||||||
RUN mkdir /data
|
RUN mkdir /data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user