version: '3'
services:
  app:
    container_name: filestash
    image: machines/filestash
    restart: always
    environment:
      ONLYOFFICE_URL: http://onlyoffice
    ports:
      - "8334:8334"
    volumes:
      - filestash:/app/data/state/
    networks:
      - filestash

  onlyoffice:
    container_name: filestash_oods
    image: onlyoffice/documentserver:7.1
    restart: always
    security_opt:
      - seccomp:unconfined
    networks:
      - filestash
    environment:
      JWT_ENABLED: "false"
      ALLOW_PRIVATE_IP_ADDRESS: "true"

volumes:
    filestash: {}

networks:
  filestash: