Updated Docker (markdown)

Stephen Moloney 2017-04-28 10:50:44 +01:00
parent a1fa095ce8
commit 3e98693478

@ -35,17 +35,22 @@ docker run -d --restart=always --name wekan-db mongo:3.2.12
docker run -d --restart=always --name wekan --link "wekan-db:db" -e "MONGO_URL=mongodb://db" -e "ROOT_URL=http://localhost:8080" -p 8080:80 wekanteam/wekan:meteor-1.4
```
#### Running from locally built dockerhub images
#### docker-compose examples
- Build default
```
sudo docker-compose up -d --build
```
#### Running from locally built dockerhub images and modified `ARG` variables (not recommended)
- Build with newer Node version:
```
echo 'NODE_VERSION=v6.6.0' >> .env && \
echo 'METEOR_RELEASE=1.4.2.3' >> .env && \
echo 'NPM_VERSION=4.1.2' >> .env && \
echo 'ARCHITECTURE=linux-x64' >> .env && \
echo 'SRC_PATH=./' >> .env && \
echo 'NODE_VERSION=v6.8.1' >> .env && \
sudo docker-compose up -d --build
```
- Build custom image off a release candidate or beta for meteor
```
echo 'METEOR_EDGE=1.5-beta.17' >> .env && \
echo 'USE_EDGE=true' >> .env && \
sudo docker-compose up -d --build
```