fix(): startup volume

pull/92/head
Magicalex 2021-05-31 01:36:46 +02:00
parent c486342798
commit a47a8ab49e
No known key found for this signature in database
GPG Key ID: A89B48B1788C3CB5
2 changed files with 4 additions and 4 deletions

View File

@ -64,5 +64,5 @@ RUN apk add --no-progress --no-cache \
COPY rootfs / COPY rootfs /
RUN chmod +x /usr/local/bin/* /etc/s6.d/*/run /etc/s6.d/.s6-svscan/* 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"] CMD ["/usr/local/bin/startup"]

View File

@ -36,7 +36,7 @@
- **/flarum/app/extensions** : Flarum extension directory - **/flarum/app/extensions** : Flarum extension directory
- **/flarum/app/public/assets** : Flarum assets 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 - **/etc/nginx/flarum** : Nginx location directory
### Environment variables ### Environment variables
@ -96,7 +96,7 @@ services:
volumes: volumes:
- /mnt/docker/flarum/assets:/flarum/app/public/assets - /mnt/docker/flarum/assets:/flarum/app/public/assets
- /mnt/docker/flarum/extensions:/flarum/app/extensions - /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 - /mnt/docker/flarum/nginx:/etc/nginx/flarum
ports: ports:
- 80:8888 - 80:8888
@ -170,7 +170,7 @@ services:
volumes: volumes:
- /mnt/docker/flarum/assets:/flarum/app/public/assets - /mnt/docker/flarum/assets:/flarum/app/public/assets
- /mnt/docker/flarum/extensions:/flarum/app/extensions - /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 - /mnt/docker/flarum/nginx:/etc/nginx/flarum
``` ```