diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 41 |
1 files changed, 2 insertions, 39 deletions
@@ -79,48 +79,11 @@ After setting up the docker container we recommend you to set up an NGINX revers | |||
79 | getferdi/ferdi-server | 79 | getferdi/ferdi-server |
80 | ``` | 80 | ``` |
81 | 81 | ||
82 | Alternatively, you can also use docker-compose v2 schemas | 82 | Alternatively, you can also use docker-compose v2 schema. An example can be found [in the docker folder](./docker/docker-compose.yml). |
83 | |||
84 | ```sh | ||
85 | --- | ||
86 | version: "2" | ||
87 | services: | ||
88 | ferdi-server: | ||
89 | image: getferdi/ferdi-server | ||
90 | container_name: ferdi-server | ||
91 | environment: | ||
92 | - NODE_ENV=development | ||
93 | - EXTERNAL_DOMAIN=<ferdi-serverdomain> | ||
94 | - DB_CONNECTION=<database> | ||
95 | - DB_HOST=<yourdbhost> | ||
96 | - DB_PORT=<yourdbPORT> | ||
97 | - DB_USER=<yourdbuser> | ||
98 | - DB_PASSWORD=<yourdbpass> | ||
99 | - DB_DATABASE=<yourdbdatabase> | ||
100 | - DB_SSL=true/false | ||
101 | - MAIL_CONNECTION=<mailsender> | ||
102 | - SMPT_HOST=<smtpmailserver> | ||
103 | - SMTP_PORT=<smtpport> | ||
104 | - MAIL_SSL=true/false | ||
105 | - MAIL_USERNAME=<yourmailusername> | ||
106 | - MAIL_PASSWORD=<yourmailpassword> | ||
107 | - MAIL_SENDER=<sendemailaddress> | ||
108 | - IS_CREATION_ENABLED=true/false | ||
109 | - IS_DASHBOARD_ENABLED=true/false | ||
110 | - IS_REGISTRATION_ENABLED=true/false | ||
111 | - CONNECT_WITH_FRANZ=true/false | ||
112 | volumes: | ||
113 | - <path to data>:/config | ||
114 | - <path to database>:/app/database | ||
115 | - <path to recipes>:/app/recipes | ||
116 | ports: | ||
117 | - <port>:80 | ||
118 | restart: unless-stopped | ||
119 | ``` | ||
120 | 83 | ||
121 | 3. Optionally, you can now [set up Nginx as a reverse proxy](https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04#set-up-nginx-as-a-reverse-proxy-server). | 84 | 3. Optionally, you can now [set up Nginx as a reverse proxy](https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04#set-up-nginx-as-a-reverse-proxy-server). |
122 | 85 | ||
123 | For more information on configuring the Docker image, visit the Docker image repository at <https://github.com/getferdi/server-docker>. | 86 | For more information on configuring the Docker image, please read [the ferdi docker documentation](./docker/README.md). |
124 | 87 | ||
125 | ### Manual setup | 88 | ### Manual setup |
126 | 89 | ||