forked from bunkerity/bunkerweb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
Photoprism app configuration example for bunkerweb. The app works and synchronization with the android PhotoSync app also works for every funtion that was tested. | ||
|
||
**Procedure:** | ||
# Procedure: | ||
|
||
Start with the photoprism [docker compose file][PhotoprismComposeFile]. The basic file (https://dl.photoprism.app/docker/docker-compose.yml) is taken from [photoprism documentation][PhotoprismDockerDocs] | ||
Bunkerweb specific changes are noted with "#For bunkerweb" at the end of the line | ||
Bunkerweb specific changes are noted with *"#For bunkerweb"* at the end of the line | ||
|
||
Check and adapt the bunkerweb configuration. Use the example (docker compose file)[BunkerwebComposeFile]. | ||
Photoprism specific changes are noted with "#photoprism specific config". | ||
Check and adapt the bunkerweb configuration. Use the example [docker compose file][BunkerwebComposeFile]. | ||
Photoprism specific changes are noted with *"#photoprism specific config"*. | ||
Adapt the rest as needed for your configurations. | ||
|
||
Start services with `docker-compose up -d` | ||
|
||
Configure the bunkerweb ui (https://docs.bunkerweb.io/latest/web-ui/#setup-wizard) | ||
Use the bunkerweb ui to upload the file "allowmedia.conf" to configs->modsec-crs->photos.example.com app specific folder. | ||
Configure the bunkerweb ui (https://docs.bunkerweb.io/latest/web-ui/#setup-wizard). | ||
Use the bunkerweb ui to upload the [modsec override file][AllowmediaConfig] to configs->modsec-crs->photos.example.com app specific folder. | ||
If prefered, copy the file manually to a folder as described in the guide (https://docs.bunkerweb.io/latest/quickstart-guide/#custom-configurations). Place it under configs/modsec-crs/. | ||
|
||
If using the provided configuration with autoconf enabled, the photoprism app should now be working without further intervention | ||
|
||
[PhotoprismDockerDocs]: https://docs.photoprism.app/getting-started/docker-compose/ | ||
[PhotoprismComposeFile]: photoprism-compose.yml | ||
[BunkerwebComposeFile]: docker-compose.yml | ||
[BunkerwebComposeFile]: docker-compose.yml | ||
[AllowmediaConfig]: allowmedia.conf |