fix Dockerfile volume setting and add volume storage (#85)
* fix: volume settings from readme.md sync * chore: add volume storagepull/92/head
parent
dc2cba4361
commit
309d51ba94
|
@ -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 /flarum/app/extensions /etc/nginx/conf.d
|
||||
VOLUME /etc/nginx/conf.d /flarum/app/extensions /flarum/app/public/assets /flarum/app/storage
|
||||
CMD ["/usr/local/bin/startup"]
|
||||
|
|
|
@ -33,8 +33,9 @@
|
|||
|
||||
### Volume
|
||||
|
||||
- **/flarum/app/public/assets** : Flarum assets directory
|
||||
- **/flarum/app/extensions** : Flarum extension directory
|
||||
- **/flarum/app/public/assets** : Flarum assets directory
|
||||
- **/flarum/app/storage** : Flarum storage directory(e.g. Flarum log)
|
||||
- **/etc/nginx/flarum** : Nginx location directory
|
||||
|
||||
### Environment variables
|
||||
|
@ -94,6 +95,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/nginx:/etc/nginx/flarum
|
||||
ports:
|
||||
- 80:8888
|
||||
|
@ -167,6 +169,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/nginx:/etc/nginx/flarum
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue