mirror of
https://github.com/linuxserver/docker-piwigo.git
synced 2026-04-13 00:04:24 +08:00
swap readme's and remove 04 TZ script, in baseimage
This commit is contained in:
parent
bd406152d3
commit
ceaed02286
53
README.md
53
README.md
@ -1,7 +1,52 @@
|
||||

|
||||
|
||||
## This is a Container in active development, and should not be used by the general public.
|
||||
If you are curious about the current progress or want to comment\contribute to this work, feel free to join us at out irc channel:
|
||||
[IRC](http://www.linuxserver.io/index.php/irc/) on freenode at `#linuxserver.io`.
|
||||
The [LinuxServer.io](http://linuxserver.io) team brings you another quality container release featuring auto-update of dependencies on startup, easy user mapping and community support. Be sure to checkout our [forums](http://forum.linuxserver.io) or for real-time support our [IRC](http://www.linuxserver.io/index.php/irc/) on freenode at `#linuxserver.io`.
|
||||
|
||||
or visit our website at [http://linuxserver.io](http://linuxserver.io)
|
||||
# linuxserver/piwigo
|
||||
|
||||
Piwigo is a photo gallery software for the web that comes with powerful features to publish and manage your collection of pictures.
|
||||
[Piwigo](http://piwigo.org/)
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
docker create --name=piwigo -v /etc/localtime:/etc/localtime:ro -v <path to data>:/config -e PGID=<gid> -e PUID=<uid> -e TZ=<timezone> -p 80:80 linuxserver/piwigo
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `-p 80` - webui port *see note below*
|
||||
* `-v /etc/localhost` for timesync - *optional*
|
||||
* `-v /config` - folder to store appdata and config file for piwigo
|
||||
* `-e PGID` for GroupID - see below for explanation
|
||||
* `-e PUID` for UserID - see below for explanation
|
||||
* `-e TZ` for setting timezone information, eg Europe/London
|
||||
It is based on phusion-baseimage with ssh removed, for shell access whilst the container is running do `docker exec -it piwigo /bin/bash`.
|
||||
|
||||
### User / Group Identifiers
|
||||
|
||||
**TL;DR** - The `PGID` and `PUID` values set the user / group you'd like your container to 'run as' to the host OS. This can be a user you've created or even root (not recommended).
|
||||
|
||||
Part of what makes our containers work so well is by allowing you to specify your own `PUID` and `PGID`. This avoids nasty permissions errors with relation to data volumes (`-v` flags). When an application is installed on the host OS it is normally added to the common group called users, Docker apps due to the nature of the technology can't be added to this group. So we added this feature to let you easily choose when running your containers.
|
||||
|
||||
## Setting up the application
|
||||
|
||||
You must create a user and database for piwigo to use in a mysql/mariadb server. In the setup page for database, use the ip address rather than hostname...
|
||||
|
||||
A basic apache configuration file can be found in /config/apache/site-confs , edit the file to enable ssl (port 443 by default), set servername etc..
|
||||
Self-signed keys are generated the first time you run the container and can be found in /config/keys , if needed, you can replace them with your own.
|
||||
|
||||
The easiest way to edit the configuration file is to enable local files editor from the plugins page and use it to configure email settings etc....
|
||||
|
||||
|
||||
## Updates
|
||||
|
||||
* To update the packages like apache etc `docker restart piwigo`.
|
||||
* To update piwigo if required, update via the webui
|
||||
* To monitor the logs of the container in realtime `docker logs -f piwigo`.
|
||||
|
||||
|
||||
|
||||
## Versions
|
||||
|
||||
+ **29.08.2015:** Initial Release.
|
||||
|
||||
@ -1,52 +0,0 @@
|
||||

|
||||
|
||||
The [LinuxServer.io](http://linuxserver.io) team brings you another quality container release featuring auto-update of dependencies on startup, easy user mapping and community support. Be sure to checkout our [forums](http://forum.linuxserver.io) or for real-time support our [IRC](http://www.linuxserver.io/index.php/irc/) on freenode at `#linuxserver.io`.
|
||||
|
||||
# linuxserver/piwigo
|
||||
|
||||
Piwigo is a photo gallery software for the web that comes with powerful features to publish and manage your collection of pictures.
|
||||
[Piwigo](http://piwigo.org/)
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
docker create --name=piwigo -v /etc/localtime:/etc/localtime:ro -v <path to data>:/config -e PGID=<gid> -e PUID=<uid> -p 80:80 linuxserver/piwigo
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
|
||||
* `-p 80` - webui port *see note below*
|
||||
* `-v /etc/localhost` for timesync - *optional*
|
||||
* `-v /config` - folder to store appdata and config file for piwigo
|
||||
* `-e PGID` for GroupID - see below for explanation
|
||||
* `-e PUID` for UserID - see below for explanation
|
||||
|
||||
It is based on phusion-baseimage with ssh removed, for shell access whilst the container is running do `docker exec -it piwigo /bin/bash`.
|
||||
|
||||
### User / Group Identifiers
|
||||
|
||||
**TL;DR** - The `PGID` and `PUID` values set the user / group you'd like your container to 'run as' to the host OS. This can be a user you've created or even root (not recommended).
|
||||
|
||||
Part of what makes our containers work so well is by allowing you to specify your own `PUID` and `PGID`. This avoids nasty permissions errors with relation to data volumes (`-v` flags). When an application is installed on the host OS it is normally added to the common group called users, Docker apps due to the nature of the technology can't be added to this group. So we added this feature to let you easily choose when running your containers.
|
||||
|
||||
## Setting up the application
|
||||
|
||||
You must create a user and database for piwigo to use in a mysql/mariadb server. In the setup page for database, use the ip address rather than hostname...
|
||||
|
||||
A basic apache configuration file can be found in /config/apache/site-confs , edit the file to enable ssl (port 443 by default), set servername etc..
|
||||
Self-signed keys are generated the first time you run the container and can be found in /config/keys , if needed, you can replace them with your own.
|
||||
|
||||
The easiest way to edit the configuration file is to enable local files editor from the plugins page and use it to configure email settings etc....
|
||||
|
||||
|
||||
## Updates
|
||||
|
||||
* To update the packages like apache etc `docker restart piwigo`.
|
||||
* To update piwigo if required, update via the webui
|
||||
* To monitor the logs of the container in realtime `docker logs -f piwigo`.
|
||||
|
||||
|
||||
|
||||
## Versions
|
||||
|
||||
+ **29.08.2015:** Initial Release.
|
||||
@ -1,8 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ $(cat /etc/timezone) != $TZ ]] ; then
|
||||
echo "$TZ" > /etc/timezone
|
||||
dpkg-reconfigure -f noninteractive tzdata
|
||||
sed -i -e "s#;date.timezone.*#date.timezone = ${TZ}#g" /etc/php5/fpm/php.ini
|
||||
sed -i -e "s#;date.timezone.*#date.timezone = ${TZ}#g" /etc/php5/cli/php.ini
|
||||
fi
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
apt-get update -qq
|
||||
apt-get --only-upgrade install $APTLIST -qqy
|
||||
apt-get --only-upgrade $APTLIST -qqy
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user