Untitled

 avatar
unknown
plain_text
3 days ago
1.4 kB
6
No Index
services:
  ocis:
    image: owncloud/ocis:latest
    container_name: ocis
    entrypoint:
      - /bin/sh
    command: ["-c", "ocis init || true; ocis server"]
    environment:
      OCIS_INSECURE: "false"      
      OCIS_URL: "https://ocis.domain"       
      OCIS_LOG_LEVEL: info       
      PROXY_HTTP_ADDR: 0.0.0.0:9200
      PROXY_TLS: false 
      STORAGE_USERS_PURGE_TRASH_BIN_PERSONAL_DELETE_BEFORE: 336h    
      STORAGE_USERS_PURGE_TRASH_BIN_PROJECT_DELETE_BEFORE: 336h    
      OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD: false
      OCIS_PASSWORD_POLICY_DISABLED: false
      OCIS_PASSWORD_POLICY_MIN_CHARACTERS: 3
      OCIS_PASSWORD_POLICY_MIN_LOWERCASE_CHARACTERS: 0
      OCIS_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS: 0
      OCIS_PASSWORD_POLICY_MIN_DIGITS: 0
      OCIS_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS: 0
    volumes:
      - /app/ocis/config:/etc/ocis
      - /media/disk2/ocis_data:/var/lib/ocis
    ports:
      - 9200:9200
    logging:
      driver: json-file
      options:
        max-size: "200k" # limit the size of the log file
        max-file: "10" # limit the count of the log files


    networks:
      - ocis-net      
    restart: unless-stopped # or on-failure / always
    
  
networks:
  ocis-net:
    name: ocis_net
    driver_opts:
      com.docker.network.bridge.name: br-ocis
Editor is loading...
Leave a Comment