Skip to content

Commit

Permalink
fix: 临时修复 ldap 错误
Browse files Browse the repository at this point in the history
  • Loading branch information
wojiushixiaobai committed Jul 4, 2024
1 parent 9e26c89 commit fd8b780
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
git clone --depth=1 https://github.com/jumpserver/Dockerfile.git
cd Dockerfile
cp config_example.conf .env
docker compose -f docker-compose-network.yml -f docker-compose-redis.yml -f docker-compose-mariadb.yml -f docker-compose-init-db.yml up -d
docker compose -f docker-compose-network.yml -f docker-compose-redis.yml -f docker-compose-mariadb.yml -f docker-compose-init-db.yml up
docker compose -f docker-compose-network.yml -f docker-compose-redis.yml -f docker-compose-mariadb.yml -f docker-compose.yml up -d

docker rm jms_init_db
Expand Down Expand Up @@ -106,7 +106,7 @@ SSH_PORT=2222
# BOOTSTRAP_TOKEN 为组件认证使用的密钥, 仅组件注册时使用。组件指 koko, lion, magnus, kael, chen ...
```
```sh
docker compose -f docker-compose-network.yml -f docker-compose-init-db.yml up -d
docker compose -f docker-compose-network.yml -f docker-compose-init-db.yml up
docker compose -f docker-compose-network.yml -f docker-compose.yml up -d

docker rm jms_init_db
Expand Down
4 changes: 2 additions & 2 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
git clone --depth=1 https://github.com/jumpserver/Dockerfile.git
cd Dockerfile
cp config_example.conf .env
docker compose -f docker-compose-network.yml -f docker-compose-redis.yml -f docker-compose-mariadb.yml -f docker-compose-init-db.yml up -d
docker compose -f docker-compose-network.yml -f docker-compose-redis.yml -f docker-compose-mariadb.yml -f docker-compose-init-db.yml up
docker compose -f docker-compose-network.yml -f docker-compose-redis.yml -f docker-compose-mariadb.yml -f docker-compose.yml up -d

docker rm jms_init_db
Expand Down Expand Up @@ -106,7 +106,7 @@ SSH_PORT=2222
# BOOTSTRAP_TOKEN is the key used for component authentication, only used when the component is registered. The components refer to koko, lion, magnus, kael, chen ...
```
```sh
docker compose -f docker-compose-network.yml -f docker-compose-init-db.yml up -d
docker compose -f docker-compose-network.yml -f docker-compose-init-db.yml up
docker compose -f docker-compose-network.yml -f docker-compose.yml up -d

docker rm jms_init_db
Expand Down
2 changes: 2 additions & 0 deletions core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ RUN --mount=type=cache,target=/root/.cache,sharing=locked \
set -e \
&& python3 -m venv /opt/py3 \
&& . /opt/py3/bin/activate \
&& rm -f poetry.lock \
&& sed -i 's@python-ldap = "3.4.3"@python-ldap = "3.4.4"@g' pyproject.toml \
&& poetry install --only=main

COPY --from=stage-1 /opt/jumpserver /opt/jumpserver
Expand Down

0 comments on commit fd8b780

Please sign in to comment.