mirror of
https://github.com/ONLYOFFICE/Docker-Docs.git
synced 2025-04-18 15:04:02 +03:00
Revert "Disable metrics build in compose"
This reverts commit 133630ebd10f70dccf1660a3939796728af68f35. Build was disabled due to the absence of one of the architectures in the statsd image. Now arm64 present, so metrics can be enabled again https://github.com/statsd/statsd/pull/753 Co-authored-by: danilapog <danil.titarenko@onlyoffice.com> Co-committed-by: danilapog <danil.titarenko@onlyoffice.com>
This commit is contained in:
parent
ffc3d468b1
commit
cacc53c7a0
@ -31,8 +31,8 @@ services:
|
||||
- DB_USER=myuser
|
||||
- REDIST_SERVER_HOST=redis
|
||||
- AMQP_HOST=rabbitmq
|
||||
#- METRICS_HOST=metrics
|
||||
#- METRICS_ENABLED=true
|
||||
- METRICS_HOST=metrics
|
||||
- METRICS_ENABLED=true
|
||||
- WOPI_ENABLED=false
|
||||
- JWT_ENABLED=${JWT_ENABLED}
|
||||
- JWT_HEADER=${JWT_HEADER}
|
||||
@ -42,7 +42,7 @@ services:
|
||||
- postgresql
|
||||
- redis
|
||||
- rabbitmq
|
||||
#- metrics
|
||||
- metrics
|
||||
stdin_open: true
|
||||
restart: always
|
||||
expose:
|
||||
@ -64,8 +64,8 @@ services:
|
||||
- DB_USER=myuser
|
||||
- REDIST_SERVER_HOST=redis
|
||||
- AMQP_HOST=rabbitmq
|
||||
#- METRICS_HOST=metrics
|
||||
#- METRICS_ENABLED=true
|
||||
- METRICS_HOST=metrics
|
||||
- METRICS_ENABLED=true
|
||||
- JWT_ENABLED=${JWT_ENABLED}
|
||||
- JWT_HEADER=${JWT_HEADER}
|
||||
- JWT_SECRET=${JWT_SECRET}
|
||||
@ -74,21 +74,21 @@ services:
|
||||
- postgresql
|
||||
- redis
|
||||
- rabbitmq
|
||||
#- metrics
|
||||
- metrics
|
||||
stdin_open: true
|
||||
restart: always
|
||||
volumes:
|
||||
- common_data:/var/lib/${COMPANY_NAME}
|
||||
|
||||
#metrics:
|
||||
# build:
|
||||
# context: .
|
||||
# dockerfile: ${DOCKERFILE}
|
||||
# target: metrics
|
||||
# container_name: metrics
|
||||
# expose:
|
||||
# - '8125'
|
||||
# - '8126'
|
||||
metrics:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ${DOCKERFILE}
|
||||
target: metrics
|
||||
container_name: metrics
|
||||
expose:
|
||||
- '8125'
|
||||
- '8126'
|
||||
|
||||
example:
|
||||
image: ${COMPANY_NAME}/${PREFIX_NAME}-example:${DOCKER_TAG}
|
||||
|
Loading…
x
Reference in New Issue
Block a user