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

[Draft] ✨ Preview generation as a separate node instance #728

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

shepilov
Copy link
Member

@shepilov shepilov commented Nov 6, 2024

No description provided.

@shepilov shepilov changed the title ✨ Preview generation as a separate node instance [Draft] ✨ Preview generation as a separate node instance Nov 7, 2024
Comment on lines +113 to +141
onlyoffice-rabbitmq:
image: rabbitmq:management
hostname: onlyoffice-rabbitmq
container_name: rabbitmq
environment:
- RABBITMQ_DEFAULT_USER=guest
- RABBITMQ_DEFAULT_PASS=guest
ports:
- "5672:5672"
- "15672:15672"
volumes:
- ./.docker-conf/rabbitmq/data/:/var/lib/rabbitmq/
- ./.docker-conf/rabbitmq/log/:/var/log/rabbitmq
networks:
- tdrive_network

onlyoffice-postgresql:
image: postgres:13
hostname: onlyoffice-postgresql
environment:
- POSTGRES_DB=onlyoffice
- POSTGRES_USER=onlyoffice
- POSTGRES_PASSWORD=onlyoffice
ports:
- 5432:5432
volumes:
- ./onlyoffice_postgres_data:/var/lib/postgresql/data
networks:
- tdrive_network
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be required, they are builtin to only office, we should only nneed them separate for persistence when onlyoffice itself restarts/redeploys.

@@ -0,0 +1,166 @@
version: "3.4"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This compose is not properly waiting for service availability, this cause intermittent errors before (a lot more than we have now). See example at:

@@ -18,6 +18,7 @@
},
"webserver": {
"host": "TWAKE_DRIVE_HOST",
"port": "TWAKE_DRIVE_PORT",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you forget to git add ..../services/webserver/index.ts ? I can't find where this is read

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

Successfully merging this pull request may close these issues.

2 participants