homelab/bxl-shp/apps/docker-compose.file.yaml

80 lines
2.5 KiB
YAML
Raw Normal View History

2023-12-22 01:33:29 +01:00
services:
onlyoffice-documentserver:
container_name: onlyoffice-documentserver
image: onlyoffice/documentserver:latest
restart: unless-stopped
environment:
- JWT_SECRET=${ONLYOFFICE_JWT}
- WOPI_ENABLED=true
- JWT_ENABLED=true
volumes:
2023-12-22 11:43:55 +01:00
- $DATA/file/onlyoffice/logs:/var/log/onlyoffice
- $DATA/file/onlyoffice/data:/var/www/onlyoffice/Data
- $DATA/file/onlyoffice/lib:/var/lib/onlyoffice
- $DATA/file/onlyoffice/db:/var/lib/postgresql
- $DATA/file/onlyoffice/rabbitmq:/var/lib/rabbitmq
2023-12-22 01:33:29 +01:00
labels:
- "traefik.enable=true"
- "traefik.http.routers.onlyoffice-editor.rule=Host(`onlyoffice-editor.bhasher.com`)"
- "traefik.http.services.onlyoffice-editor.loadbalancer.server.port=80"
- "traefik.http.routers.onlyoffice-editor.tls=true"
- "traefik.http.routers.onlyoffice-editor.tls.certresolver=http"
- "traefik.http.routers.onlyoffice-editor.entrypoints=internalsecure,externalsecure"
- "traefik.http.routers.onlyoffice-editor.middlewares=httpsupgrade"
2023-12-26 22:59:06 +01:00
- "com.centurylinklabs.watchtower.enable=true"
2023-12-22 01:33:29 +01:00
networks:
- external
- file
seafile-storage:
container_name: seafile-storage
image: mariadb:10.11
restart: unless-stopped
2023-12-22 01:33:29 +01:00
environment:
- MYSQL_ROOT_PASSWORD=${MARIADB_ROOT}
volumes:
- $DATA/file/db:/var/lib/mysql
networks:
- file
seafile-memcached:
container_name: seafile-memcached
image: memcached:1.6.18
restart: unless-stopped
2023-12-22 01:33:29 +01:00
entrypoint: memcached -m 256
networks:
- file
seafile:
container_name: seafile
image: seafileltd/seafile-mc:latest
restart: unless-stopped
2023-12-22 01:33:29 +01:00
volumes:
- $DATA/file/data:/shared
environment:
- DB_HOST=seafile-storage
- DB_ROOT_PASSWD=${MARIADB_ROOT}
- TIME_ZONE=Europe/Paris
- SEAFILE_ADMIN_EMAIL=seafile.lan@bhasher.com
- SEAFILE_ADMIN_PASSWORD=${SEAFILE_PASSWORD}
- SEAFILE_SERVER_LETSENCRYPT=false
- SEAFILE_SERVER_HOSTNAME=file.bhasher.com
- DEBUG=true
depends_on:
- seafile-storage
- seafile-memcached
labels:
- "traefik.enable=true"
- "traefik.http.routers.seafile.rule=Host(`file.bhasher.com`)"
- "traefik.http.services.seafile.loadbalancer.server.port=80"
- "traefik.http.routers.seafile.tls=true"
- "traefik.http.routers.seafile.tls.certresolver=http"
- "traefik.http.routers.seafile.entrypoints=internalsecure"
2023-12-26 22:59:06 +01:00
- "com.centurylinklabs.watchtower.enable=true"
2023-12-22 01:33:29 +01:00
networks:
- file
- external
networks:
file: