mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Updated Install Wekan Docker for testing (markdown)
parent
4161ccd0c9
commit
b0238060c7
1 changed files with 30 additions and 1 deletions
|
|
@ -1 +1,30 @@
|
||||||
hop
|
**Purpose**: just to try Wekan on your own Linux workstation
|
||||||
|
|
||||||
|
1. [Install Docker](http://docs.docker.com/linux/step_one/)
|
||||||
|
1. [Install Docker-Compose](http://docs.docker.com/compose/install/)
|
||||||
|
1. Say we want to save our Wekan data on the host in directory `/home/johndoe/wekan/data`
|
||||||
|
1. In a given directory (say `/home/johndoe/wekan`), create a `docker-compose.yml` file with:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
wekan:
|
||||||
|
image: mquandalle/wekan
|
||||||
|
links:
|
||||||
|
- wekandb
|
||||||
|
environment:
|
||||||
|
- MONGO_URL=mongodb://wekandb/wekan
|
||||||
|
- ROOT_URL=http://localhost:80
|
||||||
|
ports:
|
||||||
|
- 80:80
|
||||||
|
|
||||||
|
wekandb:
|
||||||
|
image: mongo
|
||||||
|
volumes:
|
||||||
|
- /home/johndoe/wekan/data:/data/db
|
||||||
|
```
|
||||||
|
|
||||||
|
Then, from the directory containing the `docker-composer.yml` (i.e. `/home/johndoe/wekan`), simply run `docker-compose up`. If you want it to be deamonized, you could run `docker-compose up -d`.
|
||||||
|
|
||||||
|
Your wekan data are in `/home/johndoe/wekan/data` and thus can be backed up.
|
||||||
|
|
||||||
|
(This procedure has been tested on Linux Ubuntu 14.04.)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue