2019-04-20 18:18:16 +02:00
|
|
|
# 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.
|
|
|
|
|
2019-04-20 20:49:27 +02:00
|
|
|
## Development environment
|
|
|
|
|
2019-04-20 18:18:16 +02:00
|
|
|
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`.
|
|
|
|
|
2019-04-20 20:49:27 +02:00
|
|
|
## 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.
|
|
|
|
|
2019-04-20 18:18:16 +02:00
|
|
|
For more information, see farmOS.org/hosting/docker.
|