diff --git a/docs/_site/assets/js/search-data.json b/docs/_site/assets/js/search-data.json index 7447f32f..5eedb894 100644 --- a/docs/_site/assets/js/search-data.json +++ b/docs/_site/assets/js/search-data.json @@ -30,7 +30,7 @@ "4": { "id": "4", "title": "Docker", - "content": "Initial setup Use sqlite Use postgreSQL Start gancio Upgrade Initial setup You do not need to clone the full repo as we distribute gancio via npm. A Dockerfile and a docker-compose.yml are the only files needed. Create a directory where everything related to gancio is stored (db, images, config) mkdir /opt/gancio cd /opt/gancio note that you can choose a different directory. Use sqlite Download docker-compose.yml and Dockerfile wget https://gancio.org/docker/Dockerfile wget https://gancio.org/docker/sqlite/docker-compose.yml Create an empty db and config (this is needed) touch config.json db.sqlite mkdir user_locale Build docker image and launch interactive setup in one step docker-compose build docker-compose run --rm gancio gancio setup --docker --db=sqlite Use postgreSQL Download docker-compose.yml and Dockerfile wget https://gancio.org/docker/Dockerfile wget https://gancio.org/docker/sqlite/docker-compose.yml Create an empty configuration (this is needed) touch config.json mkdir user_locale Build docker image and launch interactive setup in one step docker-compose build docker-compose run --rm gancio gancio setup --docker --db=postgres Start gancio Run your container docker-compose up -d Look at logs with docker-compose logs Setup nginx as a proxy Point your web browser to http://localhost:13120 or where you specified during setup and enjoy :tada: You can edit config.json file and restart the container on your needs, see Configuration for more details. Upgrade cd /opt/gancio docker-compose up -d --no-deps --build", + "content": "Initial setup Use sqlite Use postgreSQL Start gancio Upgrade Initial setup You do not need to clone the full repo as we distribute gancio via npm. A Dockerfile and a docker-compose.yml are the only files needed. Create a directory where everything related to gancio is stored (db, images, config) mkdir /opt/gancio cd /opt/gancio note that you can choose a different directory. Use sqlite Download docker-compose.yml and Dockerfile wget https://gancio.org/docker/Dockerfile wget https://gancio.org/docker/sqlite/docker-compose.yml Create an empty db and config (this is needed) touch config.json db.sqlite mkdir user_locale Build docker image and launch interactive setup in one step docker-compose build docker-compose run --rm gancio gancio setup --docker --db=sqlite Use postgreSQL Download docker-compose.yml and Dockerfile wget https://gancio.org/docker/Dockerfile wget https://gancio.org/docker/postgres/docker-compose.yml Create an empty configuration (this is needed) touch config.json mkdir user_locale Build docker image and launch interactive setup in one step docker-compose build docker-compose run --rm gancio gancio setup --docker --db=postgres Start gancio Run your container docker-compose up -d Look at logs with docker-compose logs Setup nginx as a proxy Point your web browser to http://localhost:13120 or where you specified during setup and enjoy :tada: You can edit config.json file and restart the container on your needs, see Configuration for more details. Upgrade cd /opt/gancio docker-compose up -d --no-deps --build", "url": "https://gancio.org/install/docker", "relUrl": "/install/docker" }, diff --git a/docs/_site/docker/postgres/docker-compose.yml b/docs/_site/docker/postgres/docker-compose.yml index a8235cd4..f0297fb0 100644 --- a/docs/_site/docker/postgres/docker-compose.yml +++ b/docs/_site/docker/postgres/docker-compose.yml @@ -19,7 +19,7 @@ services: image: node:latest container_name: gancio restart: always - command: gancio start --docker --db=postgresql + command: gancio start --docker --db=postgres volumes: - ./config.json:/opt/gancio/config.json - ./uploads:/opt/gancio/uploads diff --git a/docs/_site/feed.xml b/docs/_site/feed.xml index 03584e62..e263edb1 100644 --- a/docs/_site/feed.xml +++ b/docs/_site/feed.xml @@ -1 +1 @@ -Jekyll2019-09-26T16:57:00+02:00https://gancio.org/feed.xmlGancioA shared agenda for local communities \ No newline at end of file +Jekyll2019-09-26T17:02:01+02:00https://gancio.org/feed.xmlGancioA shared agenda for local communities \ No newline at end of file diff --git a/docs/_site/install/docker.html b/docs/_site/install/docker.html index fe4e6e5d..c08cd74c 100644 --- a/docs/_site/install/docker.html +++ b/docs/_site/install/docker.html @@ -333,7 +333,7 @@ docker-compose run --rm gancio gancio setup --docker --db=sqlite Download docker-compose.yml and Dockerfile
wget https://gancio.org/docker/Dockerfile
-wget https://gancio.org/docker/sqlite/docker-compose.yml
+wget https://gancio.org/docker/postgres/docker-compose.yml
 
  • Create an empty configuration (this is needed) diff --git a/docs/docker/postgres/docker-compose.yml b/docs/docker/postgres/docker-compose.yml index a8235cd4..f0297fb0 100644 --- a/docs/docker/postgres/docker-compose.yml +++ b/docs/docker/postgres/docker-compose.yml @@ -19,7 +19,7 @@ services: image: node:latest container_name: gancio restart: always - command: gancio start --docker --db=postgresql + command: gancio start --docker --db=postgres volumes: - ./config.json:/opt/gancio/config.json - ./uploads:/opt/gancio/uploads diff --git a/docs/install/docker.md b/docs/install/docker.md index 211fc394..85be1e7e 100644 --- a/docs/install/docker.md +++ b/docs/install/docker.md @@ -48,7 +48,7 @@ docker-compose run --rm gancio gancio setup --docker --db=sqlite 1. **Download docker-compose.yml and Dockerfile** ```bash wget https://gancio.org/docker/Dockerfile -wget https://gancio.org/docker/sqlite/docker-compose.yml +wget https://gancio.org/docker/postgres/docker-compose.yml ``` 1. Create an empty configuration (**this is needed**)