-
Notifications
You must be signed in to change notification settings - Fork 19
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
base: main
Are you sure you want to change the base?
Conversation
1f7bbca
to
386bfaa
Compare
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 |
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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
No description provided.