mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
[doc] fix docker-compose postgres link
This commit is contained in:
parent
2c66376c03
commit
a4837daa18
6 changed files with 6 additions and 6 deletions
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1 +1 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.6">Jekyll</generator><link href="https://gancio.org/feed.xml" rel="self" type="application/atom+xml" /><link href="https://gancio.org/" rel="alternate" type="text/html" /><updated>2019-09-26T16:57:00+02:00</updated><id>https://gancio.org/feed.xml</id><title type="html">Gancio</title><subtitle>A shared agenda for local communities</subtitle></feed>
|
||||
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.6">Jekyll</generator><link href="https://gancio.org/feed.xml" rel="self" type="application/atom+xml" /><link href="https://gancio.org/" rel="alternate" type="text/html" /><updated>2019-09-26T17:02:01+02:00</updated><id>https://gancio.org/feed.xml</id><title type="html">Gancio</title><subtitle>A shared agenda for local communities</subtitle></feed>
|
|
@ -333,7 +333,7 @@ docker-compose run --rm gancio gancio setup --docker --db=sqlite
|
|||
<strong>Download docker-compose.yml and Dockerfile</strong>
|
||||
<div class="language-bash highlighter-rouge">
|
||||
<div class="highlight"><pre class="highlight"><code>wget https://gancio.org/docker/Dockerfile
|
||||
wget https://gancio.org/docker/sqlite/docker-compose.yml
|
||||
wget https://gancio.org/docker/postgres/docker-compose.yml
|
||||
</code></pre></div> </div>
|
||||
</li>
|
||||
<li>Create an empty configuration (<strong>this is needed</strong>)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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**)
|
||||
|
|
Loading…
Reference in a new issue