diff options
Diffstat (limited to 'docker/README.md')
-rw-r--r-- | docker/README.md | 4 |
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 | |||
207 | If 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 | If 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 | ``` |
209 | docker build \ | 210 | docker 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 . |