Skip to content

Commit ceaed02

Browse files
committed
swap readme's and remove 04 TZ script, in baseimage
1 parent bd40615 commit ceaed02

4 files changed

Lines changed: 50 additions & 65 deletions

File tree

README.md

Lines changed: 49 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,52 @@
11
![http://linuxserver.io](http://www.linuxserver.io/wp-content/uploads/2015/06/linuxserver_medium.png)
22

3-
## This is a Container in active development, and should not be used by the general public.
4-
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:
5-
[IRC](http://www.linuxserver.io/index.php/irc/) on freenode at `#linuxserver.io`.
3+
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`.
64

7-
or visit our website at [http://linuxserver.io](http://linuxserver.io)
5+
# linuxserver/piwigo
6+
7+
Piwigo is a photo gallery software for the web that comes with powerful features to publish and manage your collection of pictures.
8+
[Piwigo](http://piwigo.org/)
9+
10+
## Usage
11+
12+
```
13+
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
14+
```
15+
16+
**Parameters**
17+
18+
* `-p 80` - webui port *see note below*
19+
* `-v /etc/localhost` for timesync - *optional*
20+
* `-v /config` - folder to store appdata and config file for piwigo
21+
* `-e PGID` for GroupID - see below for explanation
22+
* `-e PUID` for UserID - see below for explanation
23+
* `-e TZ` for setting timezone information, eg Europe/London
24+
It is based on phusion-baseimage with ssh removed, for shell access whilst the container is running do `docker exec -it piwigo /bin/bash`.
25+
26+
### User / Group Identifiers
27+
28+
**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).
29+
30+
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.
31+
32+
## Setting up the application
33+
34+
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...
35+
36+
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..
37+
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.
38+
39+
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....
40+
41+
42+
## Updates
43+
44+
* To update the packages like apache etc `docker restart piwigo`.
45+
* To update piwigo if required, update via the webui
46+
* To monitor the logs of the container in realtime `docker logs -f piwigo`.
47+
48+
49+
50+
## Versions
51+
52+
+ **29.08.2015:** Initial Release.

READMETEMPLATE.md

Lines changed: 0 additions & 52 deletions
This file was deleted.

init/04_set_the_time.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

init/50_update_apps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
22

33
apt-get update -qq
4-
apt-get --only-upgrade install $APTLIST -qqy
4+
apt-get --only-upgrade $APTLIST -qqy

0 commit comments

Comments
 (0)