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
-> @kopper@wetdry.world @kopper@brain.d.on-t.work
2y
@jeder i think nextcloud pulled this off by writing all it's files to a volume on start so you can point your webserver there. unsure how the wordpress container you're using does things but i imagine it'd be similar
1
0
0
0
User avatar
Jeder neocat_floof_googly_woozy neocat_flag_agender 🔜 eth0 @jeder@miau.jeder.pl
2y
@kopper yeah it does that
0
0
1
0