mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
Fix docker instructions for running without docker-compose
Correct definition of config volume. Previously, it would create a `config.json` folder on the host upon first creation of the container, which prevents the app to create the `config.json` file.
This commit is contained in:
parent
8c2654980d
commit
54d88f2801
@ -83,7 +83,7 @@ If you want to run the container by yourself, here you go:
|
|||||||
docker run \
|
docker run \
|
||||||
-p 80:80 \
|
-p 80:80 \
|
||||||
-e NODE_ENV=production \
|
-e NODE_ENV=production \
|
||||||
-v <path to your config file folder>/config.json:/app/data/config/config.json \
|
-v <path to your config file folder>:/app/data/config \
|
||||||
-v <path to your db file folder>:/app/data/db \
|
-v <path to your db file folder>:/app/data/db \
|
||||||
-v <path to your images folder>:/app/data/images \
|
-v <path to your images folder>:/app/data/images \
|
||||||
-v <path to your temp folder>:/app/data/tmp \
|
-v <path to your temp folder>:/app/data/tmp \
|
||||||
|
Loading…
Reference in New Issue
Block a user