[00:45:40] [telegram] was someone doing this? how do I change server.document-root?: https://tools-static.wmflabs.org/bridgebot/1a8ca843/file_105.jpg [00:46:46] [telegram] or do I basically need to build my own image basing on this toolforge one? [00:47:38] [telegram] ( https://wikitech.wikimedia.org/wiki/Help:Toolforge/Kubernetes#Running_Locally ) [00:48:26] [telegram] From the command it seems just changing $(pwd) to another path should work. [00:48:28] [telegram] Hiera in Horizon web UI maybe.. if you have your own project there (re @Thecladis: ) [00:49:14] [telegram] From the command it seems just changing ${PWD} to another path should work. [00:50:32] [telegram] well, I have a base symfony application, I need to make my document root to be public/ inside of my project, but I am not sure I can just mount only public/, it should be able to access directories one level higher as well (re @chicocvenancio: From the command it seems just changing ${PWD} to another path should work.) [00:50:55] [telegram] no clue what those things are :( (re @mutante23: Hiera in Horizon web UI maybe.. if you have your own project there) [01:17:16] [telegram] sorry,looks like i misunderstood the question. (re @Thecladis: no clue what those things are :() [02:26:27] [telegram] took me a while to realise that I just add some good old sed to the command in the end: [02:26:28] [telegram] docker run --name toolforge -p 4141:80 -v "${PWD}:/var/www/html:cached" -d docker-registry.tools.wmflabs.org/toollabs-php73-web sh -c "sed -i 's_/var/www/html_/var/www/html/public_' /etc/lighttpd/lighttpd.conf && lighty-enable-mod fastcgi-php && lighttpd -D -f /etc/lighttpd/lighttpd.conf" [02:27:02] [telegram] probably not the cleanest approach but good enough for me to just have the app running [02:27:35] [telegram] took me a while to realise that I just can add some good old sed to the command in the end: [02:27:35] [telegram] docker run --name toolforge -p 4141:80 -v "${PWD}:/var/www/html:cached" -d docker-registry.tools.wmflabs.org/toollabs-php73-web sh -c "sed -i 's_/var/www/html_/var/www/html/public_' /etc/lighttpd/lighttpd.conf && lighty-enable-mod fastcgi-php && lighttpd -D -f /etc/lighttpd/lighttpd.conf" [03:02:15] [telegram] oh and now I also need to configure rewrites. both locally and on toolforge itself it seems fwiw. just how I love all the administration parts [03:02:49] [telegram] better gonna sleep [03:25:49] [telegram] Reminder: Just around 30 hrs left for the Scholorship applications of Wikimania 2020. (re @Gopa_Vasanth: Wikimania 2020 at Bangkok, Thailand. Applications for scholorship are now open. [03:25:50] [telegram] Deadline for applying to scholarships is 17 March 2020 23:59 UTC-12:00 [03:25:51] [telegram] Apply here: https://wikimedia.qualtrics.com/jfe/form/SV_81GOJ9AFVdPHZgp [03:25:52] [telegram] Here you go: https://meta.m.wikimedia.org/wiki/Wikimania_2020 [03:25:54] [telegram] Hope to see you in Bangkok !) [10:17:56] [telegram] Except I think it's impractical to assume it is gonna happen this year :-p