generated from coop-cloud/example
Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
05ec400e34 | ||
|
|
c7218e7f51 | ||
|
|
046280291e | ||
|
|
39bf619e0a | ||
|
|
0f2fbad07e
|
@@ -0,0 +1,32 @@
|
||||
# OnlyOffice Recipe Maintenance
|
||||
|
||||
All contributions should be made via a pull request. This is to ensure a
|
||||
certain quality and consistency, that others can rely on.
|
||||
|
||||
## Maintainer Responsibilities
|
||||
|
||||
A recipe maintainer has the following responsibilities:
|
||||
|
||||
- Respond to pull requests / issues within two weeks
|
||||
- Make image security updates within a week
|
||||
- Make image major updates every three months
|
||||
|
||||
In order to fullfill these responsibilities a recipe maintainer:
|
||||
|
||||
- Has to watch the repository (to get notifications)
|
||||
- Needs to make sure renovate is configured properly
|
||||
|
||||
## Pull Requests
|
||||
|
||||
A pull request can be merged if it is approved by at least one maintainer. For
|
||||
pull requests opened by a maintainer they need to be approved by another
|
||||
maintainer. Even though it is okay to merge a pull request with one approval, it
|
||||
is always better if all maintainers looked at the pull request and approved it.
|
||||
|
||||
## Become a maintainer
|
||||
|
||||
Everyone can apply to be a recipe maintainer:
|
||||
1. Watch the repository to always get updates
|
||||
2. Simply add your self to the list in the [README.md](./README.md) and open a new pull request with the change.
|
||||
3. Once the pull request gets merged you will be added to the [onlyoffice maintainers team](https://git.coopcloud.tech/org/coop-cloud/teams/onlyoffice-maintainers).
|
||||
4. Join the room [#cc-|-onlyoffice-maintenance:matrix.org](#cc-|-onlyoffice-maintenance:matrix.org) and chat to other maintainers.
|
||||
@@ -3,7 +3,7 @@
|
||||
[](https://drone.autonomic.zone/coop-cloud/onlyoffice)
|
||||
|
||||
<!-- metadata -->
|
||||
|
||||
* **Maintainer**: Local-IT: [@moritz](https://git.coopcloud.tech/moritz), [@msimon](https://git.coopcloud.tech/simon), [@carla](https://git.coopcloud.tech/carla)
|
||||
* **Category**: Apps
|
||||
* **Status**: 3, stable
|
||||
* **Image**: [`onlyoffice`](https://hub.docker.com/r/onlyoffice/documentserver/), 4, upstream
|
||||
|
||||
+17
-19
@@ -1,7 +1,7 @@
|
||||
version: '3.8'
|
||||
version: "3.8"
|
||||
services:
|
||||
app:
|
||||
image: onlyoffice/documentserver:9.0.2
|
||||
image: onlyoffice/documentserver:9.4.0
|
||||
depends_on:
|
||||
- db
|
||||
- rabbitmq
|
||||
@@ -25,7 +25,7 @@ services:
|
||||
secrets:
|
||||
- db_password
|
||||
healthcheck:
|
||||
test: [ "CMD", "curl", "-f", "http://localhost/welcome" ]
|
||||
test: ["CMD", "curl", "-f", "http://localhost/welcome"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
@@ -42,17 +42,17 @@ services:
|
||||
labels:
|
||||
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT}"
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=proxy"
|
||||
- "traefik.swarm.network=proxy"
|
||||
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80"
|
||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-fwdproto"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-fwdproto.headers.customRequestHeaders.X-Forwarded-Proto=https"
|
||||
- "coop-cloud.${STACK_NAME}.version=2.11.0+9.0.2"
|
||||
|
||||
- "coop-cloud.${STACK_NAME}.version=2.13.0+9.4.0"
|
||||
|
||||
rabbitmq:
|
||||
image: rabbitmq:4.1.1
|
||||
image: rabbitmq:4.3.2
|
||||
networks:
|
||||
- internal
|
||||
healthcheck:
|
||||
@@ -63,13 +63,13 @@ services:
|
||||
start_period: 1m
|
||||
|
||||
db:
|
||||
image: postgres:9.6
|
||||
image: postgres:9.5
|
||||
deploy:
|
||||
labels:
|
||||
backupbot.backup: "${ENABLE_BACKUPS:-true}"
|
||||
backupbot.backup.pre-hook: "/pg_backup.sh backup"
|
||||
backupbot.backup.volumes.db.path: "backup.sql"
|
||||
backupbot.restore.post-hook: '/pg_backup.sh restore'
|
||||
labels:
|
||||
backupbot.backup: "${ENABLE_BACKUPS:-true}"
|
||||
backupbot.backup.pre-hook: "/pg_backup.sh backup"
|
||||
backupbot.backup.volumes.db.path: "backup.sql"
|
||||
backupbot.restore.post-hook: "/pg_backup.sh restore"
|
||||
environment:
|
||||
POSTGRES_DB: onlyoffice
|
||||
POSTGRES_USER: onlyoffice
|
||||
@@ -81,27 +81,25 @@ services:
|
||||
networks:
|
||||
- internal
|
||||
healthcheck:
|
||||
test: [ "CMD", "pg_isready", "-U", "onlyoffice" ]
|
||||
test: ["CMD", "pg_isready", "-U", "onlyoffice"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
start_period: 1m
|
||||
configs:
|
||||
- source: pg_backup
|
||||
target: /pg_backup.sh
|
||||
mode: 0555
|
||||
- source: pg_backup
|
||||
target: /pg_backup.sh
|
||||
mode: 0555
|
||||
|
||||
volumes:
|
||||
db:
|
||||
fonts:
|
||||
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
internal:
|
||||
|
||||
|
||||
secrets:
|
||||
db_password:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user