This is from inside the container..
root@02948b216d7b:/var/www/html/Lychee# cat /etc/php/8.2/fpm/php.ini | grep upload_max
upload_max_filesize = 2M
so the mounted nginx file does not overwrite the php parameter..
In portainer i get this log:
| server { | |
| server_name <name>.cumvreau.eu; | |
| location / { | |
| proxy_pass <adress>; | |
| proxy_set_header Host $host; | |
| proxy_set_header X-Real-IP $remote_addr; | |
| proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
| proxy_hide_header X-Frame-Options; |
| version: '3' | |
| services: | |
| snippet-box: | |
| image: pawelmalak/snippet-box:arm | |
| container_name: snippet-box | |
| volumes: | |
| - ./data:/app/data | |
| ports: | |
| - 5000:5000 | |
| restart: unless-stopped |
This is from inside the container..
root@02948b216d7b:/var/www/html/Lychee# cat /etc/php/8.2/fpm/php.ini | grep upload_max
upload_max_filesize = 2M
so the mounted nginx file does not overwrite the php parameter..
In portainer i get this log:
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
|---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
| # This is an example resource file for rTorrent. Copy to | |
| # ~/.rtorrent.rc and enable/modify the options as needed. Remember to | |
| # uncomment the options you wish to enable. | |
| # Maximum and minimum number of peers to connect to per torrent. | |
| min_peers = 1 | |
| max_peers = 300 | |
| # Same as above but for seeding completed torrents (-1 = same as downloading) | |
| min_peers_seed = 1 |
| #----{ Aliases for Ubuntu: }-------------------------------------------------- | |
| # Admin | |
| alias update="sudo apt update ; sudo apt -ZWry safe-upgrade && sudo apt -ZWry --purge-unused clean" | |
| alias sources="sudo nano /etc/apt/sources.list" | |
| alias install="sudo apt -ZWry install" | |
| alias uninstall="sudo apt -ZWry remove" | |
| alias pkgsearch="apt search" | |
| alias installed="dpkg --get-selections | grep" | |
| alias add-repo="sudo add-apt-repository" | |
| alias app="apropos" |
| directory = /mnt/wd/movies | |
| session = /home/rock64/.rtorrent/.session | |
| # Close torrents when diskspace is low. | |
| schedule = low_diskspace,5,60,close_low_diskspace=20240M | |
| port_range = 51413-51413 | |
| port_random = no | |
| encryption = allow_incoming,enable_retry,prefer_plaintext | |
| peer_exchange = no | |
| dht = disable | |
| scgi_port = 127.0.0.1:5000 |
| ### System | |
| alias update="sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y && sudo apt-get autoclean && sudo apt-get autoremove" | |
| alias paste="nc termbin.com 9999" | |
| alias aliases="cat ~/.bash_aliases" | |
| alias ra="source ~/.bash_aliases" | |
| alias ea="sudo vi ~/.bash_aliases ; source ~/.bash_aliases" | |
| # Screen | |
| alias sl="screen --list" | |
| ### SSH |
| alias li="screen -r irssi" | |
| alias rosu="sudo nano /sys/class/leds/led1/brightness" | |
| alias temp="/opt/vc/bin/vcgencmd measure_temp" | |
| alias kstop="sudo systemctl stop mediacenter" | |
| alias kstart="sudo systemctl start mediacenter" | |
| alias paste="nc termbin.com 9999" | |
| export LC_ALL="en_US.UTF-8" | |
| alias tstop="sudo systemctl stop transmission" | |
| alias tstart="sudo systemctl start transmission" | |
| alias treload="sudo systemctl reload transmission" |
| #!/usr/bin/php | |
| <?php | |
| /* Transmission to Deluge export script | |
| * | |
| * Transmission - transmission-gtk 2.77 (14031) | |
| * Deluge - deluge: 1.3.6 | |
| * Script - PHP 5.4.14 (cli) | |
| * | |
| * How to use this script; | |
| * 1) Run `php trans_to_deluge.php` and make sure there aren't any errors. |