version: '3.6' volumes: certs: acme: html: sonic: networks: proxy: archivebox: external: false onlyoffice: external: false services: trilium: image: zadam/trilium container_name: trilium restart: always environment: - VIRTUAL_PORT=8080 - VIRTUAL_HOST=${notebook_domain_list} - LETSENCRYPT_HOST=${notebook_domain_list} - TRILIUM_DATA_DIR=/home/node/data volumes: - ./.data/trilium:/home/node/data networks: - proxy filestash: container_name: filestash image: machines/filestash restart: always environment: - VIRTUAL_PORT=8334 - VIRTUAL_HOST=${filemanager_domain} - LETSENCRYPT_HOST=${filemanager_domain} - APPLICATION_URL=${filemanager_domain} - ONLYOFFICE_URL=http://onlyoffice volumes: - .data/filestash:/app/data networks: - proxy - onlyoffice onlyoffice: container_name: onlyoffice image: onlyoffice/documentserver restart: always networks: - onlyoffice security_opt: - seccomp:unconfined archivebox: image: ${DOCKER_IMAGE:-archivebox/archivebox:master} container_name: archivebox command: server --quick-init 0.0.0.0:8000 environment: - VIRTUAL_PORT=8000 - VIRTUAL_HOST=${webarchive_domain_list} - LETSENCRYPT_HOST=${webarchive_domain_list} - MEDIA_MAX_SIZE=750m - SEARCH_BACKEND_ENGINE=sonic - SEARCH_BACKEND_HOST_NAME=sonic - SEARCH_BACKEND_PASSWORD=${pw_sonic} volumes: - ./.data/archivebox:/data networks: - proxy - archivebox sonic: image: valeriansaliou/sonic:v1.3.0 container_name: sonic expose: - 1491 environment: - SEARCH_BACKEND_PASSWORD=${pw_sonic} volumes: - ./sonic.cfg:/etc/sonic.cfg:ro - sonic:/var/lib/sonic/store networks: - archivebox ####################################3 ## nginx proxy nginx-proxy: image: nginxproxy/nginx-proxy container_name: nginx-proxy restart: always ports: - 80:80 - 443:443 labels: com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true" volumes: - certs:/etc/nginx/certs:ro - ./vhost.d:/etc/nginx/vhost.d - html:/usr/share/nginx/html - /var/run/docker.sock:/tmp/docker.sock:ro networks: - proxy letsencrypt-companion: image: nginxproxy/acme-companion container_name: acme-companion restart: always volumes: - certs:/etc/nginx/certs - acme:/etc/acme.sh - ./vhost.d:/etc/nginx/vhost.d - html:/usr/share/nginx/html - /var/run/docker.sock:/var/run/docker.sock:ro networks: - proxy depends_on: - nginx-proxy