Skip to content

Commit e3370f0

Browse files
AdministratorNGPixel
Administrator
authored andcommittedDec 4, 2019
docs: create install/portainer
1 parent 65dd4dc commit e3370f0

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed
 

‎install/portainer.md

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
title: Install using Portainer
3+
description: Step-by-step installation guide
4+
published: true
5+
date: 2019-12-04T21:03:41.924Z
6+
tags: setup, guide
7+
---
8+
9+
This guide details the step-by-step procedure to install Wiki.js on a machine running **Portainer**.
10+
11+
1. Click on **Stacks** in the left sidebar navigation.
12+
1. Click on the **+ Add stack** button.
13+
1. Enter a name for the stack (e.g. `wiki`).
14+
1. Select **Web editor** as the Build method.
15+
1. In the Web editor below, paste the following block of code:
16+
```yaml
17+
version: '2'
18+
services:
19+
db:
20+
image: postgres:11-alpine
21+
environment:
22+
POSTGRES_DB: wiki
23+
POSTGRES_PASSWORD: wikijsrocks
24+
POSTGRES_USER: wikijs
25+
logging:
26+
driver: "none"
27+
restart: unless-stopped
28+
volumes:
29+
- db-data:/var/lib/postgresql/data
30+
31+
wiki:
32+
image: requarks/wiki:2
33+
depends_on:
34+
- db
35+
environment:
36+
DB_TYPE: postgres
37+
DB_HOST: db
38+
DB_PORT: 5432
39+
DB_USER: wikijs
40+
DB_PASS: wikijsrocks
41+
DB_NAME: wiki
42+
restart: unless-stopped
43+
ports:
44+
- "80:3000"
45+
46+
volumes:
47+
db-data:
48+
```
49+
1. Click on **Deploy the stack** button.
50+
1. There's no step 7, it was that easy.
51+
52+
You can now navigate to the IP / domain of your server to complete the configuration and start using Wiki.js!

0 commit comments

Comments
 (0)