Skip to content

can't run the docker compose #758

Open
@MuMu360121

Description

This issue is unique.

  • I have used the search tool and did not find an issue describing my bug.

Operating System of DocumentServer

Docker

Version information

lastest

Expected Behavior

`version: '2'
services:
onlyoffice-documentserver:
build:
context: .
container_name: onlyoffice-documentserver
depends_on:
- onlyoffice-postgresql
- onlyoffice-rabbitmq
environment:
- DB_TYPE=postgres
- DB_HOST=onlyoffice-postgresql
- DB_PORT=5432
- DB_NAME=onlyoffice
- DB_USER=onlyoffice
- AMQP_URI=amqp://guest:guest@onlyoffice-rabbitmq
# Uncomment strings below to enable the JSON Web Token validation.
#- JWT_ENABLED=true
#- JWT_SECRET=secret
#- JWT_HEADER=Authorization
#- JWT_IN_BODY=true
ports:
- '8880:80'
- '9443:443'
stdin_open: true
restart: always
stop_grace_period: 60s
volumes:
- /share/CACHEDEV2_DATA/Container/onlyoffice/data:/var/www/onlyoffice/Data
- /share/CACHEDEV2_DATA/Container/onlyoffice/log:/var/log/onlyoffice
- /share/CACHEDEV2_DATA/Container/onlyoffice/cache:/var/lib/onlyoffice/documentserver/App_Data/cache/files
- /share/CACHEDEV2_DATA/Container/onlyoffice/files:/var/www/onlyoffice/documentserver-example/public/files
- /share/CACHEDEV2_DATA/Container/onlyoffice/fonts:/usr/share/fonts

onlyoffice-rabbitmq:
container_name: onlyoffice-rabbitmq
image: rabbitmq
restart: always
expose:
- '5672'

onlyoffice-postgresql:
container_name: onlyoffice-postgresql
image: postgres:12
environment:
- POSTGRES_DB=onlyoffice
- POSTGRES_USER=onlyoffice
- POSTGRES_HOST_AUTH_METHOD=trust
restart: always
expose:
- '15432'
volumes:
- /share/CACHEDEV2_DATA/Container/onlyoffice/database:/var/lib/postgresql
`
I used the docker compose like that,but it returns error:
image

Actual Behavior

Reproduction Steps

No response

Additional information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions