eolab:ioa:offline_farmos:installing_farmos
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
eolab:ioa:offline_farmos:installing_farmos [2022/09/28 16:35] – jan001 | eolab:ioa:offline_farmos:installing_farmos [2022/09/28 16:59] – jan001 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Installing FarmOS ====== | ====== Installing FarmOS ====== | ||
+ | " | ||
+ | So I have one good news and one bad news for you. Fortunately, | ||
+ | |||
+ | First, we will download the software from GitHub ([[https:// | ||
+ | |||
+ | <cli> | ||
+ | pi@ioa-webserver: | ||
+ | pi@ioa-webserver: | ||
+ | pi@ioa-webserver: | ||
+ | pi@ioa-webserver: | ||
+ | pi@ioa-webserver: | ||
+ | pi@ioa-webserver: | ||
+ | </ | ||
+ | |||
+ | We now have everything set to start our FarmOS instance. | ||
+ | Now we need to configure how we want to run our instance. Because we also need a separate database for running FarmOS, we will use Docker Compose. With Docker Compose we can define all our wanted services in one file and be able to start and stop them easily. | ||
+ | |||
+ | <cli> | ||
+ | pi@ioa-webserver: | ||
+ | pi@ioa-webserver: | ||
+ | pi@ioa-webserver: | ||
+ | pi@ioa-webserver: | ||
+ | </ | ||
+ | |||
+ | With nano you can now create and edit the configuration file. Nano is a text-editor. | ||
+ | |||
+ | <file yml docker-compose.yml> | ||
+ | version: ' | ||
+ | services: | ||
+ | db: | ||
+ | image: postgres:12 | ||
+ | volumes: | ||
+ | - ' | ||
+ | ports: | ||
+ | - ' | ||
+ | environment: | ||
+ | POSTGRES_USER: | ||
+ | POSTGRES_PASSWORD: | ||
+ | POSTGRES_DB: | ||
+ | |||
+ | www: | ||
+ | depends_on: | ||
+ | - db | ||
+ | image: farmos: | ||
+ | volumes: | ||
+ | - ' | ||
+ | ports: | ||
+ | - ' | ||
+ | </ |
eolab/ioa/offline_farmos/installing_farmos.txt · Last modified: 2022/09/28 17:06 by jan001