Updated Docker (markdown)

Lauri Ojansivu 2024-08-19 11:03:25 +03:00
parent 57f3b21f0c
commit 85d2f28af2

@ -21,7 +21,7 @@ After your above modifications, text should look like this:
``` ```
#------------------------------------------------------------------------------------- #-------------------------------------------------------------------------------------
# ==== BUILD wekan-app DOCKER CONTAINER FROM SOURCE, if you uncomment these ==== # ==== 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: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
@ -56,7 +56,7 @@ export ROOT_URL=http://SERVER-IP-ADDRESS-HERE
``` ```
Then start WeKan with: Then start WeKan with:
``` ```
docker-compose up -d docker compose up -d
``` ```
SSL/TLS info at https://github.com/wekan/wekan/wiki/Settings 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: 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: 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 ==== # ==== 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: build:
context: . context: .
dockerfile: Dockerfile 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 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 ## 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: 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 ### Images
Quay: `image: quay.io/wekan/wekan:v4.07` 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) - 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 - Build default
``` ```
sudo docker-compose up -d --build sudo docker compose up -d --build
``` ```
- Build with newer Node version: - Build with newer Node version:
``` ```
echo 'NODE_VERSION=v8.11.1' >> .env && \ 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 - Build custom image off a release candidate or beta for meteor
``` ```
echo 'METEOR_EDGE=1.5-beta.17' >> .env && \ echo 'METEOR_EDGE=1.5-beta.17' >> .env && \
echo 'USE_EDGE=true' >> .env && \ echo 'USE_EDGE=true' >> .env && \
sudo docker-compose up -d --build sudo docker compose up -d --build
``` ```
## Docker env for Wekan dev ## Docker env for Wekan dev