尤川豪   ·  1年前
445 貼文  ·  275 留言

docker notes

────────────────────────────────────────────────────────────────────────────────
modified: php-fpm/Dockerfile
────────────────────────────────────────────────────────────────────────────────
@ php-fpm/Dockerfile:1123 @ RUN if [ ${INSTALL_PHPDECIMAL} = true ]; then \
    ;fi \
;fi

###########################################################################
# sockets:
###########################################################################

ARG INSTALL_SOCKET=true

RUN if [ ${INSTALL_SOCKET} = true ]; then \
    # Install the sockets extension
    docker-php-ext-install sockets \
;fi

###########################################################################
# zookeeper
###########################################################################
────────────────────────────────────────────────────────────────────────────────
modified: php-fpm/laravel.ini
────────────────────────────────────────────────────────────────────────────────
@ php-fpm/laravel.ini:10 @ log_errors=On
memory_limit = 256M
; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 20M
upload_max_filesize = 100M
; Sets max size of post data allowed.
; http://php.net/post-max-size
post_max_size = 20M
post_max_size = 100M
max_execution_time=600
default_socket_timeout=3600
request_terminate_timeout=600
────────────────────────────────────────────────────────────────────────────────
modified: workspace/Dockerfile
────────────────────────────────────────────────────────────────────────────────
@ workspace/Dockerfile:732 @ ENV NVM_NODEJS_ORG_MIRROR ${NVM_NODEJS_ORG_MIRROR}
RUN if [ ${INSTALL_NODE} = true ]; then \
    # Install nvm (A Node Version Manager)
    mkdir -p $NVM_DIR && \
    curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | b
ash \
    # curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash \
    # curl -o- https://monitor-majors.oss-cn-shenzhen.aliyuncs.com/install.sh|bash \
    git clone https://github.com/nvm-sh/nvm.git .$NVM_DIR \
        && . $NVM_DIR/nvm.sh \
        && nvm install ${NODE_VERSION} \
        && nvm use ${NODE_VERSION} \
  分享   共 1,423 次點閱
共有 0 則留言
還沒有人留言。歡迎分享您的觀點、或是疑問。
您的留言
尤川豪
445 貼文  ·  275 留言

Devs.tw 是讓工程師寫筆記、網誌的平台。隨手紀錄、寫作,方便日後搜尋!

歡迎您一起加入寫作與分享的行列!

查看所有文章