farmOS/docker
Michael Stenta c28237204c Change example database vars from farmos to farm. 2019-04-20 23:40:56 -04:00
..
dev Add Xdebug to the development image. 2019-04-20 23:40:56 -04:00
Dockerfile Remove volume definition from Dockerfile because it creates an empty directory if you mount a volume on the parent directory /var/www/html. 2019-04-20 23:40:56 -04:00
README.txt Add and document an example production docker-compose.yml file. 2019-04-20 14:49:27 -04:00
docker-compose.development.yml Change example database vars from farmos to farm. 2019-04-20 23:40:56 -04:00
docker-compose.override.postgis.yml Change example database vars from farmos to farm. 2019-04-20 23:40:56 -04:00
docker-compose.production.yml Build farmOS directly into the container image. Mount /var/www/html/sites. 2019-04-20 17:36:56 -04:00
docker-entrypoint.sh Copy sites directory instead of packing/unpacking an archive. 2019-04-20 22:45:05 -04:00

README.txt

# Running farmOS with Docker

This directory contains files necessary to build the farmOS Docker image, along
with example `docker-compose.yml` files that can be used for running farmOS in
Docker containers.

## Development environment

To run a farmOS development environment, copy `docker-compose.development.yml`
into a new directory on your server, rename it to `docker-compose.yml` and run
`docker-compose up`.

If you would like to experiment with installing farmOS on PostgreSQL with
PostGIS, copy the `docker-compose.override.postgis.yml` file to the same
directory and rename it to `docker-compose.override.yml`. This will override
the `db` configuration from `docker-compose.development.yml`.

## Production environment

To run a farmOS production environment, use `docker-compose.production.yml` as
an example for building your own configuration. Note that this example does not
include a database. It is assumed that in production environments the database
will be managed outside of Docker.

For more information, see farmOS.org/hosting/docker.