All the docs updated

This commit is contained in:
Toben Archer 2021-08-17 18:13:25 -05:00
parent 7002b4378a
commit 4e213cf37b
5 changed files with 43 additions and 4 deletions

View file

@ -73,6 +73,7 @@ Ansible config and a bunch of Docker containers.
* [Ombi](https://ombi.io/) - web application that automatically gives your users the ability to request content * [Ombi](https://ombi.io/) - web application that automatically gives your users the ability to request content
* [Organizr](https://organizr.app/) - ORGANIZR aims to be your one stop shop for your Servers Frontend. * [Organizr](https://organizr.app/) - ORGANIZR aims to be your one stop shop for your Servers Frontend.
* [openHAB](https://www.openhab.org/) - A vendor and technology agnostic open source automation software for your home * [openHAB](https://www.openhab.org/) - A vendor and technology agnostic open source automation software for your home
* [Piwigo](https://piwigo.org/) - Photo Gallery Software
* [Plex](https://www.plex.tv/) - Plex Media Server * [Plex](https://www.plex.tv/) - Plex Media Server
* [Portainer](https://portainer.io/) - for managing Docker and running custom images * [Portainer](https://portainer.io/) - for managing Docker and running custom images
* [pyLoad](https://pyload.net/) - A download manager with a friendly web-interface * [pyLoad](https://pyload.net/) - A download manager with a friendly web-interface

View file

@ -0,0 +1,33 @@
# Piwigo - Open Source Photo Gallery
Homepage: [Piwigo.org](https://piwigo.org)
Piwigo is open source photo gallery software for the web. Designed for organisations, teams and individuals.
## Usage
Set `piwigo_enabled: true` in your `inventories/<your_inventory>/nas.yml` file.
If you want to access Piwigo externally, set `piwigo_available_externally: "true"` in your `inventories/<your_inventory>/nas.yml` file.
The Piwigo web interface can be found at http://ansible_nas_host_or_ip:16923.
## Specific Configuration
piwigo_mysql_user: "piwigo"
piwigo_mysql_password: "piwigo"
piwigo_mysql_root_password: "piwigo"
nventories/alfheim/group_vars/nas.yml
Optional configurations:
- Set `piwigo_mysql_user` in `inventories/<your_inventory>/group_vars/nas.yml` before installing Piwigo, this defaults to "piwigo".
- Set `piwigo_mysql_password` in `inventories/<your_inventory>/group_vars/nas.yml` before installing Piwigo, this defaults to "piwigo".
- Set `piwigo_mysql_root_password` in `inventories/<your_inventory>/group_vars/nas.yml` before installing Piwigo, this defaults to "piwigo".
- On first run you'll need to enter database details:
- Host: `db:3306`
- Username: the value of piwigo_mysql_user, defaults to "piwigo"
- Password: the value of piwigo_password, defaults to "piwigo"
- Database Name: `piwigo`
- Database tables prefix: should be prefilled with `piwigo_`

View file

@ -56,6 +56,7 @@ By default, applications can be found on the ports listed below.
| openHAB | 7778 | Host | HTTPS | | openHAB | 7778 | Host | HTTPS |
| Organizr | 10081 | Bridge | HTTP | | Organizr | 10081 | Bridge | HTTP |
| Organizr | 10444 | Bridge | HTTPS | | Organizr | 10444 | Bridge | HTTPS |
| Piwigo | 16923 | Bridge | HTTP |
| Plex | 32400 | Bridge | HTTP | | Plex | 32400 | Bridge | HTTP |
| Portainer | 9000 | Bridge | HTTP | | Portainer | 9000 | Bridge | HTTP |
| pyload | 8000 | Bridge | HTTP | | pyload | 8000 | Bridge | HTTP |

View file

@ -5,11 +5,14 @@ piwigo_available_externally: "false"
# directories # directories
piwigo_config_directory: "{{ docker_home }}/piwigo/config" piwigo_config_directory: "{{ docker_home }}/piwigo/config"
piwigo_data_directory: "{{ docker_home }}/piwigo/data" piwigo_data_directory: "{{ docker_home }}/piwigo/data"
piwigo_photos: "{{ photos_root }}" piwigo_photos: "{{ photos_root }}/piwigo"
# uid / gid # uid / gid
piwigo_user_id: "1000" piwigo_user_id: "1000"
piwigo_group_id: "1000" piwigo_group_id: "1000"
piwigo_mysql_user: "piwigo"
piwigo_mysql_password: "piwigo"
piwigo_mysql_root_password: "piwigo"
piwigo_photos_permission: "rw" piwigo_photos_permission: "rw"

View file

@ -6,6 +6,7 @@
with_items: with_items:
- "{{ piwigo_config_directory }}" - "{{ piwigo_config_directory }}"
- "{{ piwigo_data_directory }}" - "{{ piwigo_data_directory }}"
- "{{ piwigo_photos }}"
- name: create MySQL container for Piwigo - name: create MySQL container for Piwigo
docker_container: docker_container:
@ -16,9 +17,9 @@
- "{{ piwigo_data_directory }}/mysql:/var/lib/mysql:rw" - "{{ piwigo_data_directory }}/mysql:/var/lib/mysql:rw"
env: env:
MYSQL_DATABASE: "piwigo" MYSQL_DATABASE: "piwigo"
MYSQL_USER: "piwigo" MYSQL_USER: "{{ piwigo_mysql_user }}"
MYSQL_PASSWORD: "piwigo" MYSQL_PASSWORD: "{{ piwigo_mysql_password }}"
MYSQL_ROOT_PASSWORD: "piwigo" MYSQL_ROOT_PASSWORD: "{{ piwigo_mysql_root_password }}"
restart_policy: unless-stopped restart_policy: unless-stopped
memory: "{{ piwigo_mysql_memory }}" memory: "{{ piwigo_mysql_memory }}"