1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-25 02:04:15 +02: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:
zertrin 2020-10-22 23:46:48 +08:00 committed by GitHub
parent 8c2654980d
commit 54d88f2801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 \