mirror of
https://github.com/davestephens/ansible-nas
synced 2024-12-25 02:53:11 +00:00
All the docs updated
This commit is contained in:
parent
7002b4378a
commit
4e213cf37b
5 changed files with 43 additions and 4 deletions
|
@ -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
|
||||
* [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
|
||||
* [Piwigo](https://piwigo.org/) - Photo Gallery Software
|
||||
* [Plex](https://www.plex.tv/) - Plex Media Server
|
||||
* [Portainer](https://portainer.io/) - for managing Docker and running custom images
|
||||
* [pyLoad](https://pyload.net/) - A download manager with a friendly web-interface
|
||||
|
|
33
docs/applications/piwigo.md
Normal file
33
docs/applications/piwigo.md
Normal 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_`
|
||||
|
|
@ -56,6 +56,7 @@ By default, applications can be found on the ports listed below.
|
|||
| openHAB | 7778 | Host | HTTPS |
|
||||
| Organizr | 10081 | Bridge | HTTP |
|
||||
| Organizr | 10444 | Bridge | HTTPS |
|
||||
| Piwigo | 16923 | Bridge | HTTP |
|
||||
| Plex | 32400 | Bridge | HTTP |
|
||||
| Portainer | 9000 | Bridge | HTTP |
|
||||
| pyload | 8000 | Bridge | HTTP |
|
||||
|
|
|
@ -5,11 +5,14 @@ piwigo_available_externally: "false"
|
|||
# directories
|
||||
piwigo_config_directory: "{{ docker_home }}/piwigo/config"
|
||||
piwigo_data_directory: "{{ docker_home }}/piwigo/data"
|
||||
piwigo_photos: "{{ photos_root }}"
|
||||
piwigo_photos: "{{ photos_root }}/piwigo"
|
||||
|
||||
# uid / gid
|
||||
piwigo_user_id: "1000"
|
||||
piwigo_group_id: "1000"
|
||||
piwigo_mysql_user: "piwigo"
|
||||
piwigo_mysql_password: "piwigo"
|
||||
piwigo_mysql_root_password: "piwigo"
|
||||
|
||||
piwigo_photos_permission: "rw"
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
with_items:
|
||||
- "{{ piwigo_config_directory }}"
|
||||
- "{{ piwigo_data_directory }}"
|
||||
- "{{ piwigo_photos }}"
|
||||
|
||||
- name: create MySQL container for Piwigo
|
||||
docker_container:
|
||||
|
@ -16,9 +17,9 @@
|
|||
- "{{ piwigo_data_directory }}/mysql:/var/lib/mysql:rw"
|
||||
env:
|
||||
MYSQL_DATABASE: "piwigo"
|
||||
MYSQL_USER: "piwigo"
|
||||
MYSQL_PASSWORD: "piwigo"
|
||||
MYSQL_ROOT_PASSWORD: "piwigo"
|
||||
MYSQL_USER: "{{ piwigo_mysql_user }}"
|
||||
MYSQL_PASSWORD: "{{ piwigo_mysql_password }}"
|
||||
MYSQL_ROOT_PASSWORD: "{{ piwigo_mysql_root_password }}"
|
||||
restart_policy: unless-stopped
|
||||
memory: "{{ piwigo_mysql_memory }}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue