aboutsummaryrefslogtreecommitdiffstats
path: root/docker/README.md
diff options
context:
space:
mode:
authorLibravatar Michal Kostewicz <m.kostewicz84@gmail.com>2021-02-08 17:53:04 +0100
committerLibravatar Michal Kostewicz <m.kostewicz84@gmail.com>2021-02-08 17:59:41 +0100
commitb250a512363fb127d79078f13e1a0a132569e74e (patch)
tree3cd6fbdb17ab11188371c62311c8f89a219b2ad9 /docker/README.md
parentAdjust README info about DATA_DIR (diff)
downloadferdium-server-b250a512363fb127d79078f13e1a0a132569e74e.tar.gz
ferdium-server-b250a512363fb127d79078f13e1a0a132569e74e.tar.zst
ferdium-server-b250a512363fb127d79078f13e1a0a132569e74e.zip
Fix DATA_DIR examples in README.md
Diffstat (limited to 'docker/README.md')
-rw-r--r--docker/README.md4
1 files changed, 2 insertions, 2 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 .