暂存
This commit is contained in:
parent
9311b2557f
commit
0a027a165f
@ -50,7 +50,7 @@ services:
|
|||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpus: "2"
|
cpus: "2"
|
||||||
memory: 2g
|
memory: 4g
|
||||||
command: >
|
command: >
|
||||||
/bin/bash -c
|
/bin/bash -c
|
||||||
"bin/apply-config-from-env.py conf/bookkeeper.conf &&
|
"bin/apply-config-from-env.py conf/bookkeeper.conf &&
|
||||||
@ -79,7 +79,7 @@ services:
|
|||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpus: "2"
|
cpus: "2"
|
||||||
memory: 2g
|
memory: 4g
|
||||||
command: >
|
command: >
|
||||||
/bin/bash -c
|
/bin/bash -c
|
||||||
"bin/apply-config-from-env.py conf/broker.conf && bin/pulsar broker"
|
"bin/apply-config-from-env.py conf/broker.conf && bin/pulsar broker"
|
||||||
@ -209,8 +209,8 @@ services:
|
|||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpus: "2.0"
|
cpus: "1.0"
|
||||||
memory: 2g
|
memory: 1g
|
||||||
ports:
|
ports:
|
||||||
- "${REDIS_PORT}:6379"
|
- "${REDIS_PORT}:6379"
|
||||||
volumes:
|
volumes:
|
||||||
@ -292,7 +292,7 @@ services:
|
|||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpus: "1.0"
|
cpus: "1.0"
|
||||||
memory: 2g
|
memory: 200mb
|
||||||
ports:
|
ports:
|
||||||
- "${ADMIN_WEB_PORT}:8080"
|
- "${ADMIN_WEB_PORT}:8080"
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
|
|||||||
@ -191,11 +191,9 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./mysql/log:/var/log/mysql
|
- ./mysql/log:/var/log/mysql
|
||||||
- ./mysql/data:/var/lib/mysql
|
- ./mysql/data:/var/lib/mysql
|
||||||
- ./mysql/init:/docker-entrypoint-initdb.d
|
|
||||||
command:
|
command:
|
||||||
- --character-set-server=utf8mb4
|
- --character-set-server=utf8mb4
|
||||||
- --collation-server=utf8mb4_unicode_ci
|
- --collation-server=utf8mb4_unicode_ci
|
||||||
- --user=mysql # 确保MySQL以mysql用户运行
|
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
@ -245,7 +243,7 @@ services:
|
|||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpus: "1.0"
|
cpus: "1.0"
|
||||||
memory: 500mb
|
memory: 200mb
|
||||||
ports:
|
ports:
|
||||||
- "${ADMIN_WEB_PORT}:8080"
|
- "${ADMIN_WEB_PORT}:8080"
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user