@ -47,7 +47,7 @@ class DockerContainer {
);
Future<String> collectLogs() async {
final apacheLogs = (await runExecutableArguments(
final serverLogs = (await runExecutableArguments(
'docker',
[
'logs',
@ -68,7 +68,7 @@ class DockerContainer {
))
.stdout as String;
return '$apacheLogs\n\n$nextcloudLogs';
return '$serverLogs\n\n$nextcloudLogs';
}
@ -20,3 +20,5 @@ RUN (bash /entrypoint.sh php -S 0.0.0.0:8080 &) && \
until curl -s -o /dev/null http://localhost:8080/status.php; do true; done && \
for user in admin user1 user2; do curl -u "$user:$user" -H "ocs-apirequest: true" -s -o /dev/null http://localhost:8080/ocs/v2.php/cloud/user; done
COPY --chown=www-data:www-data overlay /usr/src/nextcloud/
CMD ["php", "-S", "0.0.0.0:80"]