Replace onlyoffice with collabora
This commit is contained in:
parent
0724ae9238
commit
e54ec1312c
3 changed files with 11 additions and 19 deletions
|
@ -54,16 +54,16 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./redis:/data
|
- ./redis:/data
|
||||||
|
|
||||||
onlyoffice:
|
collabora:
|
||||||
image: onlyoffice/documentserver
|
image: collabora/code:latest
|
||||||
container_name: onlyoffice
|
container_name: collabora
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
cap_add:
|
||||||
|
- MKNOD
|
||||||
environment:
|
environment:
|
||||||
- JWT_ENABLED=true
|
- "domain=intersect\\.jakehoward\\.tech"
|
||||||
- JWT_SECRET={{ nextcloud.onlyoffice_jwt_secret }}
|
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.onlyoffice.rule=Host(`onlyoffice.jakehoward.tech`)"
|
- "traefik.http.routers.collabora.rule=Host(`collabora.jakehoward.tech`)"
|
||||||
- "traefik.http.routers.onlyoffice.tls.certresolver=le"
|
- "traefik.http.routers.collabora.tls.certresolver=le"
|
||||||
- "traefik.http.routers.onlyoffice.middlewares=oo-header"
|
- "traefik.http.services.collabora-nextcloud.loadbalancer.server.scheme=https"
|
||||||
- "traefik.http.middlewares.oo-header.headers.customRequestHeaders.X-Forwarded-Proto=https"
|
|
||||||
|
|
|
@ -1,12 +1,4 @@
|
||||||
nextcloud:
|
nextcloud:
|
||||||
onlyoffice_jwt_secret: !vault |
|
|
||||||
$ANSIBLE_VAULT;1.1;AES256
|
|
||||||
62303266376363626466323834663133366565393165373435636663663665306334666434313233
|
|
||||||
6539396130326335653663646430613939323535616536340a363766386361616431353665636531
|
|
||||||
30303930373864333836363565303165613663613938356133616363396231376463623839383765
|
|
||||||
6563363263363039320a386134373931363733393636343539393133376463643962396231646565
|
|
||||||
32366533633564376561373534363662393361656563633230646439653361663836653339666439
|
|
||||||
3463633137313030363130636663373931623038616365333931
|
|
||||||
instance_id: !vault |
|
instance_id: !vault |
|
||||||
$ANSIBLE_VAULT;1.1;AES256
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
30343838333336366638343832633063343135393262336238633632333962656236656666343930
|
30343838333336366638343832633063343135393262336238633632333962656236656666343930
|
||||||
|
|
|
@ -92,9 +92,9 @@ resource "cloudflare_record" "jakehowardtech_pihole" {
|
||||||
ttl = 1
|
ttl = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "cloudflare_record" "jakehowardtech_onlyoffice" {
|
resource "cloudflare_record" "jakehowardtech_collabora" {
|
||||||
zone_id = cloudflare_zone.jakehowardtech.id
|
zone_id = cloudflare_zone.jakehowardtech.id
|
||||||
name = "onlyoffice"
|
name = "collabora"
|
||||||
value = vultr_server.casey.main_ip
|
value = vultr_server.casey.main_ip
|
||||||
type = "A"
|
type = "A"
|
||||||
ttl = 1
|
ttl = 1
|
||||||
|
|
Loading…
Reference in a new issue