fix(): startup volume
parent
c486342798
commit
a47a8ab49e
|
@ -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"]
|
||||
|
|
|
@ -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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue