User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
yes lets put caddy inside of docker-compose.yml what can go wrong
:neocat_shocked@brain.d.on-t.work:1
2
0
2
1
User avatar
-> @kopper@wetdry.world @kopper@brain.d.on-t.work
2y
@jeder putting apache inside a container to run php when php-fpm is RIGHT THERE woe
1
0
0
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper funny that you mention this because i am currently fighting with dockerized wordpress that runs on php-fpm, to work with caddy that is outside of docker and i have no fucking idea what it wants from me
1
0
1
0
User avatar
-> @kopper@wetdry.world @kopper@brain.d.on-t.work
2y
@jeder the thing about php-fpm is that it's extremely sensitive to filesystem permissions. make sure both the php user and the caddy user (in containers) can access the wordpress files
1
0
0
0
User avatar
-> @kopper@wetdry.world @kopper@brain.d.on-t.work
2y
@jeder actually i should probably ask where you're stuck on before trying to reply guy shouldn't i?
1
0
0
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper i don't want to use caddy in docker, i get a file not found
1
0
1
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper like, everything's running and shit and i want to configure the wordpress but yeah i get that on index.php
1
0
1
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper and i suppose this is like some permission bullshit between rpm-managed caddy and the wordpress container
1
0
1
0
User avatar
-> @kopper@wetdry.world @kopper@brain.d.on-t.work
2y
@jeder however you set it up both caddy and php-fpm need read access to the files (and their containing directories) and all of them need to be at the exact same paths for both (if i recall correctly. it's certainly the easiest way to pull it off)

php is very clearly not intended for containers
2
0
0
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper i am doing such gymnastics because i clearly do not want to run any kind of sql on bare metal because the way fedora deals with postgres updates horrifies me
1
0
1
0
User avatar
-> @kopper@wetdry.world @kopper@brain.d.on-t.work
2y
@jeder can't you run the database inside a container and let it expose the port to 127.0.0.1? i do it all the time for dev stuff on my laptop
1
0
0
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper i guess i could
1
0
1
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper i was even thinking about that but i was like "jesus even more bullshit"
1
0
1
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper i'll just do that i suppose
1
0
1
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper oh and just to make it even worse, i am trying to run postgres with it instead of mariadb because fuck that
2
0
1
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper but i suppose that just Works
0
0
1
0