mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
Update README.md
This commit is contained in:
parent
ea8b780f25
commit
ef42749aa6
@ -70,11 +70,13 @@ 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:/pigallery2-release/config.json \
|
-v <path to your config file folder>/config.json:/pigallery2-release/config.json \
|
||||||
|
-v <path to your db file folder>/sqlite.db:/pigallery2-release/sqlite.db \
|
||||||
-v <path to your images folder>:/pigallery2-release/demo/images \
|
-v <path to your images folder>:/pigallery2-release/demo/images \
|
||||||
-v <path to your temp folder>:/pigallery2-release/demo/TEMP \
|
-v <path to your temp folder>:/pigallery2-release/demo/TEMP \
|
||||||
bpatrik/pigallery2:1.5.5-stretch
|
bpatrik/pigallery2:1.5.5-stretch
|
||||||
```
|
```
|
||||||
Make sure that a file at `<path to your config file folder>/config.json` exists before running it.
|
Make sure that a file at `<path to your config file folder>/config.json` exists before running it.
|
||||||
|
you do not need the `<path to your db file folder>/sqlite.db` line if you dont use sqlite database.
|
||||||
|
|
||||||
After the container is up and running, you go to `http://localhost` and log in with user: `admin` pass: `admin` and set up the page in the settings.
|
After the container is up and running, you go to `http://localhost` and log in with user: `admin` pass: `admin` and set up the page in the settings.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user