diff --git a/Dockerfile b/Dockerfile index 13d2075..f150d47 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,5 +64,5 @@ RUN apk add --no-progress --no-cache \ COPY rootfs / RUN chmod +x /usr/local/bin/* /etc/s6.d/*/run /etc/s6.d/.s6-svscan/* -VOLUME /etc/nginx/flarum /flarum/app/extensions /flarum/app/public/assets /flarum/app/storage +VOLUME /etc/nginx/flarum /flarum/app/extensions /flarum/app/public/assets /flarum/app/storage/logs CMD ["/usr/local/bin/startup"] diff --git a/README.md b/README.md index d694206..bebd284 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ - **/flarum/app/extensions** : Flarum extension directory - **/flarum/app/public/assets** : Flarum assets directory -- **/flarum/app/storage** : Flarum storage directory(e.g. Flarum log) +- **/flarum/app/storage/logs** : Flarum logs directory - **/etc/nginx/flarum** : Nginx location directory ### Environment variables @@ -96,7 +96,7 @@ services: volumes: - /mnt/docker/flarum/assets:/flarum/app/public/assets - /mnt/docker/flarum/extensions:/flarum/app/extensions - - /mnt/docker/flarum/storage:/flarum/app/storage + - /mnt/docker/flarum/storage/logs:/flarum/app/storage/logs - /mnt/docker/flarum/nginx:/etc/nginx/flarum ports: - 80:8888 @@ -170,7 +170,7 @@ services: volumes: - /mnt/docker/flarum/assets:/flarum/app/public/assets - /mnt/docker/flarum/extensions:/flarum/app/extensions - - /mnt/docker/flarum/storage:/flarum/app/storage + - /mnt/docker/flarum/storage/logs:/flarum/app/storage/logs - /mnt/docker/flarum/nginx:/etc/nginx/flarum ```