From 408f486a22a36a567cbeeb98d584cd367b0e5837 Mon Sep 17 00:00:00 2001 From: mylinttrap Date: Tue, 10 Dec 2019 08:22:11 -0800 Subject: [PATCH 1/2] Update Dockerfile The healthcheck in the container does not work without this. nginx never starts if you don't change the health check to executable. --- php/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/php/Dockerfile b/php/Dockerfile index a74435c..d21ccb5 100644 --- a/php/Dockerfile +++ b/php/Dockerfile @@ -11,6 +11,7 @@ RUN apk --update --no-cache add php7-fpm php7-bcmath php7-json php7-opcache php7 COPY www.conf /etc/php7/php-fpm.d/www.conf COPY php.ini /etc/php7/php.ini COPY entrypoint.sh .foolframe.cache.php.env .foolframe.db.php.env .foolframe.config.php.env .foolfuuka.config.php.env php-fpm-healthcheck / +RUN chmod +x /php-fpm-healthcheck ENV LD_PRELOAD=/usr/lib/preloadable_libiconv.so \ FPM_PM=dynamic \ FPM_PM_MAX_CHILDREN=5 \ @@ -30,4 +31,4 @@ ENV LD_PRELOAD=/usr/lib/preloadable_libiconv.so \ DB_PASS=pass \ DB_CHARSET=utf8mb4 \ DB_PREFIX=ff_ \ - COOKIE_PREFIX=foolframe_ugay_ \ No newline at end of file + COOKIE_PREFIX=foolframe_ugay_ From 706103896126fb65ec55b1229967a29f3fe8ff8c Mon Sep 17 00:00:00 2001 From: mylinttrap Date: Tue, 10 Dec 2019 08:36:33 -0800 Subject: [PATCH 2/2] Update README.md This is a question, because I dont know where to put it. the directory structure is reversed for foolfuuka/frame within the php system. checking out the repo, doing docker-compose up -d does not result in a fully working system. Here is the error I found when navigating. example: /foolfuuka/boards/image/wg/1574/34/1574348094708.png ...should be... /foolfuuka/boards/wg/image/1574/34/1574348094708.png the directory structure in the shared volume is ... /boards # ls image thumb /boards # ls * image: w wg thumb: w wg when it should be (if the url is authoritative: /boards/wg/image and /boards/wg/thumb) Do you know how to fix this so that it is more stream lined? I was using the hayden scraper --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f27c5ad..adb76f3 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,24 @@ +This is a question, because I dont know where to put it. +the directory structure is reversed for foolfuuka/frame within the php system. +checking out the repo, doing docker-compose up -d does not result in a fully working system. +Here is the error I found when navigating. +example: /foolfuuka/boards/image/wg/1574/34/1574348094708.png ...should be... + /foolfuuka/boards/wg/image/1574/34/1574348094708.png + +the directory structure in the shared volume is ... +/boards # ls +image thumb +/boards # ls * +image: +w wg +thumb: +w wg + +when it should be (if the url is authoritative: /boards/wg/image and /boards/wg/thumb) + +Do you know how to fix this so that it is more stream lined? I was using the hayden scraper + + # FoolStack A full FoolFuuka stack on top of docker to remove the setup overhead and allow portability. @@ -133,4 +154,4 @@ volumes: networks: foolstack: name: foolstack -``` \ No newline at end of file +```