Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't run the docker compose #758

Open
1 task done
MuMu360121 opened this issue Aug 12, 2024 · 0 comments
Open
1 task done

can't run the docker compose #758

MuMu360121 opened this issue Aug 12, 2024 · 0 comments
Assignees

Comments

@MuMu360121
Copy link

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

@Rita-Bubnova Rita-Bubnova transferred this issue from ONLYOFFICE/DocumentServer Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants