diff --git a/Docker.md b/Docker.md index bf3d181..2cbf689 100644 --- a/Docker.md +++ b/Docker.md @@ -21,7 +21,7 @@ After your above modifications, text should look like this: ``` #------------------------------------------------------------------------------------- # ==== BUILD wekan-app DOCKER CONTAINER FROM SOURCE, if you uncomment these ==== - # ==== and use commands: docker-compose up -d --build + # ==== and use commands: docker compose up -d --build build: context: . dockerfile: Dockerfile @@ -56,7 +56,7 @@ export ROOT_URL=http://SERVER-IP-ADDRESS-HERE ``` Then start WeKan with: ``` -docker-compose up -d +docker compose up -d ``` SSL/TLS info at https://github.com/wekan/wekan/wiki/Settings @@ -79,7 +79,7 @@ There is much more settings at well-documented [docker-compose.yml](https://raw. If you don't need to build Wekan, use prebuilt container with docker-compose.yml from https://github.com/wekan/wekan like this: ``` -docker-compose up -d +docker compose up -d ``` If you like to build from source, clone Wekan repo: @@ -90,7 +90,7 @@ Then edit docker-compose.yml with [these lines uncommented](https://github.com/w ``` #------------------------------------------------------------------------------------- # ==== BUILD wekan-app DOCKER CONTAINER FROM SOURCE, if you uncomment these ==== - # ==== and use commands: docker-compose up -d --build + # ==== and use commands: docker compose up -d --build build: context: . dockerfile: Dockerfile @@ -106,7 +106,7 @@ Then edit docker-compose.yml with [these lines uncommented](https://github.com/w ``` Then you can build Wekan with ``` -docker-compose up -d --build +docker compose up -d --build ``` ## Example for latest Wekan, port 2000 to Docker Wekan internal port 8080 @@ -156,7 +156,7 @@ docker rm wekan-app ``` Then edit docker-compose.yml to have higher wekan-app image version tag, like `image: wekanteam/wekan:v4.12`. Then: ``` -docker-compose up -d +docker compose up -d ``` ### Images Quay: `image: quay.io/wekan/wekan:v4.07` @@ -250,25 +250,25 @@ docker run -d --restart=always --name wekan --link "wekan-db:db" -e "MONGO_URL=m - No build step and pull from [quay](https://quay.io/repository/wekan/wekan?tab=tags) ``` -sudo docker-compose up -d --nobuild +sudo docker compose up -d --nobuild ``` - Build default ``` -sudo docker-compose up -d --build +sudo docker compose up -d --build ``` - Build with newer Node version: ``` echo 'NODE_VERSION=v8.11.1' >> .env && \ -sudo docker-compose up -d --build +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 +sudo docker compose up -d --build ``` ## Docker env for Wekan dev