Files
flyspray-docker/README.md

42 lines
1.2 KiB
Markdown

# flyspray-docker
This repository contains build files for [Flyspray] docker images. The images
extend the official `php:apache` image.
Dockerfiles are available for [PostgreSQL] (`*/pgsql`) and [MySQL]/[MariaDB]
(`*/mysqli`).
# Prerequesits
Install [Docker].
## Building the image
```bash
docker build --tag rkcsd/flyspray:1.0-rc10-mysqli ./1.0-rc10/mysqli
```
If you would like to build all images, use the `build-all.sh` script.
## Running the container
Create and run the container with the following command (mounts are optional
and depend on your usecase):
```bash
docker volume create flyspray_attachments
docker volume create flyspray_avatars
docker run --name flyspray \
--volume flyspray_attachments:/var/www/flyspray/attachments:rw \
--volume flyspray_avatars:/var/www/flyspray/avatars:rw \
--volume /path/to/flyspray.conf.php:/var/www/flyspray/flyspray.conf.php:rw \
--volume /path/to/flyspray.ini:/usr/local/etc/php/conf.d/flyspray.ini:ro \
rkcsd/flyspray:1.0-rc10-mysqli
```
[Flyspray]: <http://www.flyspray.org>
[Docker]: <https://docs.docker.com/engine/install/>
[PostgreSQL]: <https://www.postgresql.org/>
[MySQL]: <https://www.mysql.com/>
[MariaDB]: <https://mariadb.com/>