1
0
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:
Patrik J. Braun 2019-01-17 09:33:09 +01:00 committed by GitHub
parent ea8b780f25
commit ef42749aa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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