From 8a0a90c04c87a7ad83899555a465b7641e9b4ce2 Mon Sep 17 00:00:00 2001 From: xthursdayx Date: Thu, 3 Oct 2019 01:33:23 -0400 Subject: Fixed server-docker link in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6a61df8..6ccc638 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ After setting up the docker container we recommend you to set up an NGINX revers ``` 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). -For more information on configuring the Docker image, visit the Docker image repository at . +For more information on configuring the Docker image, visit the Docker image repository at . ### Manual setup 1. Clone this repository -- cgit v1.2.3-70-g09d2 From bbc3f973ce3ba04db79a92a06008073e836b22bf Mon Sep 17 00:00:00 2001 From: xthursdayx Date: Thu, 3 Oct 2019 01:38:46 -0400 Subject: Added correct docker volume mounts Added correct volume mounts for database and recipe persistence. --- README.md | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 6ccc638..cd32cfa 100644 --- a/README.md +++ b/README.md @@ -40,20 +40,22 @@ After setting up the docker container we recommend you to set up an NGINX revers ```sh docker create \ - --name=ferdi-server \ - -e NODE_ENV=development \ - -e DB_CONNECTION= \ - -e DB_HOST= \ - -e DB_PORT= \ - -e DB_USER= \ - -e DB_PASSWORD= \ - -e DB_DATABASE= \ - -e IS_CREATION_ENABLED=true \ - -e CONNECT_WITH_FRANZ=true \ - -p :80 \ - -v :/config \ - --restart unless-stopped \ - getferdi/ferdi-server + --name=ferdi-server \ + -e NODE_ENV=development \ + -e DB_CONNECTION= \ + -e DB_HOST= \ + -e DB_PORT= \ + -e DB_USER= \ + -e DB_PASSWORD= \ + -e DB_DATABASE= \ + -e IS_CREATION_ENABLED=true \ + -e CONNECT_WITH_FRANZ=true \ + -p :80 \ + -v :/config \ + -v :/usr/src/app/database \ + -v :/usr/src/app/recipes \ + --restart unless-stopped \ + xthursdayx/ferdi-server-docker ``` Alternatively, you can also use docker-compose v2 schemas @@ -77,6 +79,8 @@ After setting up the docker container we recommend you to set up an NGINX revers - CONNECT_WITH_FRANZ=true/flase volumes: - :/config + - :/usr/src/app/database + - :/usr/src/app/recipes ports: - :80 restart: unless-stopped -- cgit v1.2.3-70-g09d2 From 0fe9516fa7f96d75212da79a180925027609f57d Mon Sep 17 00:00:00 2001 From: xthursdayx Date: Thu, 3 Oct 2019 01:42:44 -0400 Subject: Corrected Docker Hub repo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cd32cfa..dabec45 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ After setting up the docker container we recommend you to set up an NGINX revers -v :/usr/src/app/database \ -v :/usr/src/app/recipes \ --restart unless-stopped \ - xthursdayx/ferdi-server-docker + getferdi/ferdi-server ``` Alternatively, you can also use docker-compose v2 schemas @@ -65,7 +65,7 @@ After setting up the docker container we recommend you to set up an NGINX revers version: "2" services: ferdi-server: - image: xthursday/ferdi-server-docker + image: getferdi/ferdi-server container_name: ferdi-server environment: - NODE_ENV=development -- cgit v1.2.3-70-g09d2