aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docker/README.md4
-rw-r--r--docker/docker-compose.yml4
2 files changed, 4 insertions, 4 deletions
diff --git a/docker/README.md b/docker/README.md
index 6e18d16..8518e15 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -56,6 +56,7 @@ To create the docker container with the proper parameters:
56 -e IS_DASHBOARD_ENABLED=true \ 56 -e IS_DASHBOARD_ENABLED=true \
57 -e IS_REGISTRATION_ENABLED=true \ 57 -e IS_REGISTRATION_ENABLED=true \
58 -e CONNECT_WITH_FRANZ=true \ 58 -e CONNECT_WITH_FRANZ=true \
59 -e DATA_DIR=data \
59 -p <port>:80 \ 60 -p <port>:80 \
60 -v <path to data>:/config \ 61 -v <path to data>:/config \
61 -v <path to database>:/app/database \ 62 -v <path to database>:/app/database \
@@ -102,7 +103,7 @@ If any environmental parameter is not passed to the container, its value will be
102| `-e IS_DASHBOARD_ENABLED=true` | for specifying whether to enable the Ferdi-server dashboard, default is true | 103| `-e IS_DASHBOARD_ENABLED=true` | for specifying whether to enable the Ferdi-server dashboard, default is true |
103| `-e IS_REGISTRATION_ENABLED=true` | for specifying whether to allow user registration, default is true | 104| `-e IS_REGISTRATION_ENABLED=true` | for specifying whether to allow user registration, default is true |
104| `-e CONNECT_WITH_FRANZ=true` | for specifying whether to enable connections to the Franz server, default is true | 105| `-e CONNECT_WITH_FRANZ=true` | for specifying whether to enable connections to the Franz server, default is true |
105| `-e DATA_DIR=database` | for specifying sql-lite database folder, default is database. Currently you need to use folder inside `/app` directory | 106| `-e DATA_DIR=data` | for specifying sql-lite database folder, default is database. |
106| `-v <path to data>:/config` | this will store persistent ENV data on the docker host | 107| `-v <path to data>:/config` | this will store persistent ENV data on the docker host |
107| `-v <path to database>:/app/database` | this will strore Ferdi-server's database on the docker host for persistence | 108| `-v <path to database>:/app/database` | this will strore Ferdi-server's database on the docker host for persistence |
108| `-v <path to recipes>:/app/recipes` | this will strore Ferdi-server's recipes on the docker host for persistence | 109| `-v <path to recipes>:/app/recipes` | this will strore Ferdi-server's recipes on the docker host for persistence |
@@ -207,7 +208,6 @@ Below are the instructions for updating the container to get the most recent ver
207If you want to build this image locally, please run this command from root of [ferdi server repository](https://github.com/getferdi/server/tree/master/): 208If you want to build this image locally, please run this command from root of [ferdi server repository](https://github.com/getferdi/server/tree/master/):
208``` 209```
209docker build \ 210docker build \
210 -f docker/Dockerfile \
211 --no-cache \ 211 --no-cache \
212 --pull \ 212 --pull \
213 -t getferdi/ferdi-server:latest . 213 -t getferdi/ferdi-server:latest .
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index 8a8c795..64797c4 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -24,10 +24,10 @@ services:
24 - IS_DASHBOARD_ENABLED=true 24 - IS_DASHBOARD_ENABLED=true
25 - IS_REGISTRATION_ENABLED=true 25 - IS_REGISTRATION_ENABLED=true
26 - CONNECT_WITH_FRANZ=false 26 - CONNECT_WITH_FRANZ=false
27 - DATA_DIR=my-database 27 - DATA_DIR=data
28 volumes: 28 volumes:
29 - ferdi-config-vol:/config 29 - ferdi-config-vol:/config
30 - ferdi-database-vol:/app/my-database 30 - ferdi-database-vol:/app/data
31 - ferdi-recipes-vol:/app/recipes 31 - ferdi-recipes-vol:/app/recipes
32 ports: 32 ports:
33 - 3333:3333 33 - 3333:3333